LLVM  14.0.0git
Classes | Namespaces | Functions
IFSHandler.cpp File Reference
#include "llvm/InterfaceStub/IFSHandler.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/InterfaceStub/IFSStub.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/YAMLTraits.h"
Include dependency graph for IFSHandler.cpp:

Go to the source code of this file.


struct  llvm::yaml::ScalarEnumerationTraits< IFSSymbolType >
 YAML traits for ELFSymbolType. More...
struct  llvm::yaml::ScalarTraits< IFSEndiannessType >
struct  llvm::yaml::ScalarTraits< IFSBitWidthType >
struct  llvm::yaml::MappingTraits< IFSTarget >
struct  llvm::yaml::MappingTraits< IFSSymbol >
 YAML traits for ELFSymbol. More...
struct  llvm::yaml::MappingTraits< IFSStub >
 YAML traits for ELFStub objects. More...
struct  llvm::yaml::MappingTraits< IFSStubTriple >
 YAML traits for ELFStubTriple objects. More...


 This is an optimization pass for GlobalISel generic memory operations.


bool usesTriple (StringRef Buf)
 Attempt to determine if a Text stub uses target triple. More...

Function Documentation

◆ usesTriple()

bool usesTriple ( StringRef  Buf)

Attempt to determine if a Text stub uses target triple.

Definition at line 162 of file IFSHandler.cpp.

References llvm::StringRef::contains(), I, llvm::StringRef::startswith(), and llvm::StringRef::trim().

Referenced by llvm::ifs::readIFSFromBuffer().