Home
last modified time | relevance | path

Searched refs:TargetLowering (Results 1 – 25 of 156) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp31 class GISelAsmOperandInfo : public TargetLowering::AsmOperandInfo {
37 explicit GISelAsmOperandInfo(const TargetLowering::AsmOperandInfo &Info) in GISelAsmOperandInfo()
38 : TargetLowering::AsmOperandInfo(Info) {} in GISelAsmOperandInfo()
58 void update(const TargetLowering::AsmOperandInfo &OpInfo) { in update()
63 if (OpInfo.ConstraintType == TargetLowering::C_Memory || in update()
64 OpInfo.ConstraintType == TargetLowering::C_Other) { in update()
85 const TargetLowering &TLI = *MF.getSubtarget().getTargetLowering(); in getRegistersForValue()
89 if (OpInfo.ConstraintType == TargetLowering::C_Memory) in getRegistersForValue()
136 static void computeConstraintToUse(const TargetLowering *TLI, in computeConstraintToUse()
137 TargetLowering::AsmOperandInfo &OpInfo) { in computeConstraintToUse()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DInlineAsmLowering.h25 class TargetLowering; variable
29 const TargetLowering *TLI;
53 const TargetLowering *getTLI() const { return TLI; } in getTLI()
61 InlineAsmLowering(const TargetLowering *TLI) : TLI(TLI) {} in InlineAsmLowering()
H A DLoadStoreOpt.h34 class TargetLowering; variable
88 const TargetLowering *TLI = nullptr;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp252 case TargetLowering::TypeLegal: in run()
255 case TargetLowering::TypeScalarizeScalableVector: in run()
263 case TargetLowering::TypePromoteInteger: in run()
267 case TargetLowering::TypeExpandInteger: in run()
271 case TargetLowering::TypeSoftenFloat: in run()
275 case TargetLowering::TypeExpandFloat: in run()
279 case TargetLowering::TypeScalarizeVector: in run()
283 case TargetLowering::TypeSplitVector: in run()
287 case TargetLowering::TypeWidenVector: in run()
291 case TargetLowering::TypePromoteFloat: in run()
[all …]
H A DLegalizeVectorOps.cpp57 const TargetLowering &TLI;
293 TargetLowering::LegalizeAction Action = TargetLowering::Legal; in LegalizeOp()
318 if (Action == TargetLowering::Legal) in LegalizeOp()
319 Action = TargetLowering::Expand; in LegalizeOp()
333 if (Action == TargetLowering::Legal) in LegalizeOp()
343 if (Action == TargetLowering::Expand && !TLI.isStrictFPEnabled() && in LegalizeOp()
345 TargetLowering::Legal) { in LegalizeOp()
348 == TargetLowering::Expand && in LegalizeOp()
350 == TargetLowering::Legal) in LegalizeOp()
351 Action = TargetLowering::Legal; in LegalizeOp()
[all …]
H A DLegalizeTypesGeneric.cpp49 case TargetLowering::TypeLegal: in ExpandRes_BITCAST()
50 case TargetLowering::TypePromoteInteger: in ExpandRes_BITCAST()
52 case TargetLowering::TypePromoteFloat: in ExpandRes_BITCAST()
53 case TargetLowering::TypeSoftPromoteHalf: in ExpandRes_BITCAST()
56 case TargetLowering::TypeSoftenFloat: in ExpandRes_BITCAST()
61 case TargetLowering::TypeExpandInteger: in ExpandRes_BITCAST()
62 case TargetLowering::TypeExpandFloat: { in ExpandRes_BITCAST()
73 case TargetLowering::TypeSplitVector: in ExpandRes_BITCAST()
80 case TargetLowering::TypeScalarizeVector: in ExpandRes_BITCAST()
86 case TargetLowering::TypeScalarizeScalableVector: in ExpandRes_BITCAST()
[all …]
H A DMatchContext.h23 const TargetLowering &TLI;
27 EmptyMatchContext(SelectionDAG &DAG, const TargetLowering &TLI, SDNode *Root) in EmptyMatchContext()
54 const TargetLowering &TLI;
60 VPMatchContext(SelectionDAG &DAG, const TargetLowering &TLI, SDNode *_Root) in VPMatchContext()
H A DLegalizeVectorTypes.cpp259 TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_CMP()
307 if (getTypeAction(OtherVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOpWithTwoResults()
336 if (getTypeAction(OperVT) == TargetLowering::TypeScalarizeVector) in ScalarizeVecRes_StrictFPOp()
362 if (getTypeAction(ResVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
382 if (getTypeAction(OtherVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
401 if (getTypeAction(Op.getValueType()) == TargetLowering::TypeScalarizeVector) in ScalarizeVecRes_BITCAST()
430 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_FP_ROUND()
487 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
512 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VecInregOp()
542 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_ADDRSPACECAST()
[all …]
H A DTargetLowering.cpp44 TargetLowering::TargetLowering(const TargetMachine &tm) in TargetLowering() function in TargetLowering
48 TargetLowering::~TargetLowering() = default;
50 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const { in getTargetNodeName()
54 bool TargetLowering::isPositionIndependent() const { in isPositionIndependent()
60 bool TargetLowering::isInTailCallPosition(SelectionDAG &DAG, SDNode *Node, in isInTailCallPosition()
90 bool TargetLowering::parametersInCSRMatch(const MachineRegisterInfo &MRI, in parametersInCSRMatch()
154 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
162 TargetLowering::ArgListTy Args; in makeLibCall()
165 TargetLowering::ArgListEntry Entry; in makeLibCall()
192 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
[all …]
H A DSelectionDAGBuilder.cpp171 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromParts()
347 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromPartsVector()
509 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyToParts()
693 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyToPartsVector()
717 TargetLowering::TypeWidenVector) { in getCopyToPartsVector()
850 RegsForValue::RegsForValue(LLVMContext &Context, const TargetLowering &TLI, in RegsForValue()
882 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromRegs()
964 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyToRegs()
1020 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in AddInlineAsmOperands()
1644 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in handleDebugValue()
[all …]
H A DInstrEmitter.h29 class TargetLowering; variable
41 const TargetLowering *TLI;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAnalysis.h28 class TargetLowering; variable
65 void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
70 void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
77 inline void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL,
83 inline void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, in ComputeValueVTs()
H A DSwiftErrorValueTracking.h32 class TargetLowering; variable
38 const TargetLowering *TLI;
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp34 const TargetLowering &TLI = *DAG.getSubtarget().getTargetLowering(); in EmitTargetCodeForMemcpy()
35 TargetLowering::ArgListTy Args; in EmitTargetCodeForMemcpy()
36 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy()
45 TargetLowering::CallLoweringInfo CLI(DAG); in EmitTargetCodeForMemcpy()
H A DXCoreISelLowering.h29 class XCoreTargetLowering : public TargetLowering
35 using TargetLowering::isZExtFree;
146 LowerCall(TargetLowering::CallLoweringInfo &CLI,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp33 const TargetLowering &TLI = *DAG.getSubtarget().getTargetLowering(); in EmitTargetCodeForMemcpy()
34 TargetLowering::ArgListTy Args; in EmitTargetCodeForMemcpy()
35 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy()
53 TargetLowering::CallLoweringInfo CLI(DAG); in EmitTargetCodeForMemcpy()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h23 class SparcTargetLowering : public TargetLowering {
103 LowerCall(TargetLowering::CallLoweringInfo &CLI,
105 SDValue LowerCall_32(TargetLowering::CallLoweringInfo &CLI,
107 SDValue LowerCall_64(TargetLowering::CallLoweringInfo &CLI,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp166 TargetLowering::ArgListEntry DstEntry; in EmitStreamingCompatibleMemLibCall()
169 TargetLowering::ArgListTy Args; in EmitStreamingCompatibleMemLibCall()
176 TargetLowering::ArgListEntry Entry; in EmitStreamingCompatibleMemLibCall()
184 TargetLowering::ArgListEntry Entry; in EmitStreamingCompatibleMemLibCall()
192 TargetLowering::ArgListEntry Entry; in EmitStreamingCompatibleMemLibCall()
205 TargetLowering::ArgListEntry SizeEntry; in EmitStreamingCompatibleMemLibCall()
210 TargetLowering::CallLoweringInfo CLI(DAG); in EmitStreamingCompatibleMemLibCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.h24 class SPIRVTargetLowering : public TargetLowering {
33 : TargetLowering(TM), STI(ST) {} in SPIRVTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h23 class MSP430TargetLowering : public TargetLowering {
53 TargetLowering::ConstraintType
113 LowerCall(TargetLowering::CallLoweringInfo &CLI,
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.h86 class XtensaTargetLowering : public TargetLowering {
116 TargetLowering::ConstraintType
119 TargetLowering::ConstraintWeight
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCCState.h58 std::vector<TargetLowering::ArgListEntry> &FuncArgs,
105 std::vector<TargetLowering::ArgListEntry> &FuncArgs, const char *Func) { in PreAnalyzeCallOperands()
116 std::vector<TargetLowering::ArgListEntry> &FuncArgs, in AnalyzeCallOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.h30 class ARCTargetLowering : public TargetLowering {
71 SDValue LowerCall(TargetLowering::CallLoweringInfo &CLI,
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp72 SmallPtrSet<const TargetLowering *, 1> TLSet; in initializeLibCalls()
75 const TargetLowering *Lowering = in initializeLibCalls()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp60 const TargetLowering &TLI;
82 const TargetLowering &TLI_, DomTreeUpdater *DTU_, in DwarfEHPrepare()
321 const TargetLowering &TLI, DominatorTree *DT, in prepareDwarfEH()
346 const TargetLowering &TLI = *TM.getSubtargetImpl(F)->getTargetLowering(); in runOnFunction()

1234567