Go to the documentation of this file.
12 #ifndef LLVM_CODEGEN_GLOBALISEL_CSEMIRBUILDER_H
13 #define LLVM_CODEGEN_GLOBALISEL_CSEMIRBUILDER_H
19 class GISelInstProfileBuilder;
51 void *&NodeInsertPos);
54 bool canPerformCSEForOpc(
unsigned Opc)
const;
This is an optimization pass for GlobalISel generic memory operations.
MachineIRBuilder()=default
Some constructors for easy use.
virtual MachineInstrBuilder buildConstant(const DstOp &Res, const ConstantInt &Val)
Build and insert Res = G_CONSTANT Val.
This is the shared class of boolean and integer constants.
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Flag
These should be considered private to the implementation of the MCInstrDesc class.
ConstantFP - Floating Point Values [float, double].
MachineInstrBuilder buildFConstant(const DstOp &Res, const ConstantFP &Val) override
Build and insert Res = G_FCONSTANT Val.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
MachineInstrBuilder buildConstant(const DstOp &Res, const ConstantInt &Val) override
Build and insert Res = G_CONSTANT Val.
virtual MachineInstrBuilder buildFConstant(const DstOp &Res, const ConstantFP &Val)
Build and insert Res = G_FCONSTANT Val.
Helper class to build MachineInstr.
Defines a builder that does CSE of MachineInstructions using GISelCSEInfo.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
FoldingSetNodeID - This class is used to gather all the unique data bits of a node.
MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef< DstOp > DstOps, ArrayRef< SrcOp > SrcOps, Optional< unsigned > Flag=None) override