Go to the documentation of this file.
35 const std::string FEntryName = std::string(
37 if (FEntryName !=
"true")
40 auto &FirstMBB = *MF.
begin();
43 TII->get(TargetOpcode::FENTRY_CALL));
49 INITIALIZE_PASS(FEntryInserter,
"fentry-insert",
"Insert fentry calls",
false,
This is an optimization pass for GlobalISel generic memory operations.
virtual const TargetInstrInfo * getInstrInfo() const
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
char & FEntryInserterID
This pass inserts FEntry calls.
#define INITIALIZE_PASS(passName, arg, name, cfg, analysis)
const HexagonInstrInfo * TII
Attribute getFnAttribute(Attribute::AttrKind Kind) const
Return the attribute for the given attribute kind.
StringRef getValueAsString() const
Return the attribute's value as a string.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
Function & getFunction()
Return the LLVM function that this machine code represents.
void initializeFEntryInserterPass(PassRegistry &)
MachineInstrBuilder BuildMI(MachineFunction &MF, const MIMetadata &MIMD, const MCInstrDesc &MCID)
Builder interface. Specify how to create the initial instruction itself.