15 #ifndef LLVM_LIB_TARGET_RISCV_RISCVISELLOWERING_H 16 #define LLVM_LIB_TARGET_RISCV_RISCVISELLOWERING_H 49 bool isLegalICmpImmediate(int64_t Imm)
const override;
50 bool isLegalAddImmediate(int64_t Imm)
const override;
51 bool isTruncateFree(
Type *SrcTy,
Type *DstTy)
const override;
52 bool isTruncateFree(
EVT SrcVT,
EVT DstVT)
const override;
53 bool isZExtFree(
SDValue Val,
EVT VT2)
const override;
59 const char *getTargetNodeName(
unsigned Opcode)
const override;
61 std::pair<unsigned, const TargetRegisterClass *>
70 EVT VT)
const override;
73 return isa<LoadInst>(
I) || isa<StoreInst>(I);
103 bool shouldConvertConstantLoadToIntImm(
const APInt &Imm,
104 Type *Ty)
const override {
116 bool IsEligibleForTailCallOptimization(
CCState &CCInfo,
BUILTIN_OP_END - This must be the last enum value in this list.
A parsed version of the target data layout string in and methods for querying it. ...
This represents an addressing mode of: BaseGV + BaseOffs + BaseReg + Scale*ScaleReg If BaseGV is null...
Compute iterated dominance frontiers using a linear time algorithm.
unsigned const TargetRegisterInfo * TRI
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
This provides a uniform API for creating instructions and inserting them into a basic block: either a...
static SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG, const SparcTargetLowering &TLI, const SparcSubtarget *Subtarget)
This class defines information used to lower LLVM code to legal SelectionDAG operators that the targe...
AtomicOrdering
Atomic ordering for LLVM's memory model.
bool shouldInsertFencesForAtomic(const Instruction *I) const override
Whether AtomicExpandPass should automatically insert fences and reduce ordering for this atomic...
The instances of the Type class are immutable: once they are created, they are never changed...
This is an important class for using LLVM in a threaded context.
static SDValue LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG, const SparcSubtarget *Subtarget)
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
This structure contains all information that is necessary for lowering calls.
CCState - This class holds information needed while lowering arguments and return values...
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
Class for arbitrary precision integers.
Representation of each machine instruction.
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...
This file describes how to lower LLVM code to machine code.