Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLowering.cpp53 std::unique_ptr<::Ice::TargetLowering> \
173 void TargetLowering::filterTypeToRegisterSet( in filterTypeToRegisterSet()
256 std::unique_ptr<TargetLowering>
257 TargetLowering::createLowering(TargetArch Target, Cfg *Func) { in createLowering()
269 void TargetLowering::staticInit(GlobalContext *Ctx) { in staticInit()
289 bool TargetLowering::shouldBePooled(const Constant *C) { in shouldBePooled()
302 ::Ice::Type TargetLowering::getPointerType() { in getPointerType()
315 TargetLowering::TargetLowering(Cfg *Func) in TargetLowering() function in Ice::TargetLowering
318 void TargetLowering::genTargetHelperCalls() { in genTargetHelperCalls()
330 void TargetLowering::doAddressOpt() { in doAddressOpt()
[all …]
DIceRegistersX8632.h344 TargetLowering::RegSetMask Include, in getRegisterSet()
345 TargetLowering::RegSetMask Exclude) { in getRegisterSet()
351 if (scratch && (Include & ::Ice::TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
353 if (preserved && (Include & ::Ice::TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
355 if (stackptr && (Include & ::Ice::TargetLowering::RegSet_StackPointer)) \ in getRegisterSet()
357 if (frameptr && (Include & ::Ice::TargetLowering::RegSet_FramePointer)) \ in getRegisterSet()
359 if (scratch && (Exclude & ::Ice::TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
361 if (preserved && (Exclude & ::Ice::TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
363 if (stackptr && (Exclude & ::Ice::TargetLowering::RegSet_StackPointer)) \ in getRegisterSet()
365 if (frameptr && (Exclude & ::Ice::TargetLowering::RegSet_FramePointer)) \ in getRegisterSet()
DIceRegistersX8664.h348 TargetLowering::RegSetMask Include, in getRegisterSet()
349 TargetLowering::RegSetMask Exclude) { in getRegisterSet()
355 if (scratch && (Include & TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
357 if (preserved && (Include & TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
359 if (stackptr && (Include & TargetLowering::RegSet_StackPointer)) \ in getRegisterSet()
361 if (frameptr && (Include & TargetLowering::RegSet_FramePointer)) \ in getRegisterSet()
363 if (scratch && (Exclude & TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
365 if (preserved && (Exclude & TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
367 if (stackptr && (Exclude & TargetLowering::RegSet_StackPointer)) \ in getRegisterSet()
369 if (frameptr && (Exclude & TargetLowering::RegSet_FramePointer)) \ in getRegisterSet()
DIceTargetLowering.h168 class TargetLowering {
169 TargetLowering() = delete;
170 TargetLowering(const TargetLowering &) = delete;
171 TargetLowering &operator=(const TargetLowering &) = delete;
180 static std::unique_ptr<TargetLowering> createLowering(TargetArch Target,
343 virtual ~TargetLowering() = default;
351 explicit TargetLowering(Cfg *Func);
DIceOperand.cpp28 ShouldBePooled = TargetLowering::shouldBePooled(this); in initShouldBePooled()
226 Variable::getRematerializableOffset(const ::Ice::TargetLowering *Target) { in getRematerializableOffset()
599 template <> void ConstantInteger32::emit(TargetLowering *Target) const { in emit()
603 template <> void ConstantInteger64::emit(TargetLowering *Target) const { in emit()
607 template <> void ConstantFloat::emit(TargetLowering *Target) const { in emit()
611 template <> void ConstantDouble::emit(TargetLowering *Target) const { in emit()
615 void ConstantRelocatable::emit(TargetLowering *Target) const { in emit()
619 void ConstantRelocatable::emitWithoutPrefix(const TargetLowering *Target, in emitWithoutPrefix()
641 void ConstantUndef::emit(TargetLowering *Target) const { Target->emit(this); } in emit()
DIceAssemblerARM32.h91 explicit TargetInfo(const TargetLowering *Target) in TargetInfo()
216 const TargetLowering *Lowering) { in ldr()
225 CondARM32::Cond Cond, const TargetLowering *Lowering) { in ldrex()
288 const TargetLowering *Lowering) { in str()
297 CondARM32::Cond Cond, const TargetLowering *Lowering) { in strex()
425 CondARM32::Cond Cond, const TargetLowering *Lowering) { in vldrd()
434 CondARM32::Cond Cond, const TargetLowering *Lowering) { in vldrs()
443 CondARM32::Cond Cond, const TargetLowering *Lowering) { in vldrq()
456 const TargetLowering *Lowering) { in vld1qr()
462 const TargetLowering *Lowering) { in vld1()
[all …]
DIceTargetLoweringX86.h35 class TargetX86 : public ::Ice::TargetLowering {
46 explicit TargetX86(Cfg *Func) : TargetLowering(Func) { in TargetX86()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp239 case TargetLowering::TypeLegal: in run()
247 case TargetLowering::TypePromoteInteger: in run()
251 case TargetLowering::TypeExpandInteger: in run()
255 case TargetLowering::TypeSoftenFloat: in run()
259 case TargetLowering::TypeExpandFloat: in run()
263 case TargetLowering::TypeScalarizeVector: in run()
267 case TargetLowering::TypeSplitVector: in run()
271 case TargetLowering::TypeWidenVector: in run()
275 case TargetLowering::TypePromoteFloat: in run()
297 case TargetLowering::TypeLegal: in run()
[all …]
DLegalizeVectorOps.cpp58 const TargetLowering &TLI;
267 case TargetLowering::Legal: in LegalizeOp()
269 case TargetLowering::Custom: { in LegalizeOp()
280 case TargetLowering::Expand: { in LegalizeOp()
298 case TargetLowering::Legal: in LegalizeOp()
300 case TargetLowering::Custom: { in LegalizeOp()
311 case TargetLowering::Expand: { in LegalizeOp()
330 TargetLowering::LegalizeAction Action = TargetLowering::Legal; in LegalizeOp()
339 if (Action == TargetLowering::Legal) in LegalizeOp()
340 Action = TargetLowering::Expand; in LegalizeOp()
[all …]
DTargetLowering.cpp38 TargetLowering::TargetLowering(const TargetMachine &tm) in TargetLowering() function in TargetLowering
41 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const { in getTargetNodeName()
45 bool TargetLowering::isPositionIndependent() const { in isPositionIndependent()
51 bool TargetLowering::isInTailCallPosition(SelectionDAG &DAG, SDNode *Node, in isInTailCallPosition()
78 bool TargetLowering::parametersInCSRMatch(const MachineRegisterInfo &MRI, in parametersInCSRMatch()
126 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
134 TargetLowering::ArgListTy Args; in makeLibCall()
137 TargetLowering::ArgListEntry Entry; in makeLibCall()
159 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
180 TargetLowering::findOptimalMemOpLowering(std::vector<EVT> &MemOps, in findOptimalMemOpLowering()
[all …]
DLegalizeVectorTypes.cpp239 if (getTypeAction(ResVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
258 if (getTypeAction(OtherVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
356 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
383 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VecInregOp()
420 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VSELECT()
430 TargetLowering::BooleanContent ScalarBool = in ScalarizeVecRes_VSELECT()
432 TargetLowering::BooleanContent VecBool = TLI.getBooleanContents(true, false); in ScalarizeVecRes_VSELECT()
447 ScalarBool = TargetLowering::UndefinedBooleanContent; in ScalarizeVecRes_VSELECT()
453 case TargetLowering::UndefinedBooleanContent: in ScalarizeVecRes_VSELECT()
455 case TargetLowering::ZeroOrOneBooleanContent: in ScalarizeVecRes_VSELECT()
[all …]
DLegalizeTypesGeneric.cpp49 case TargetLowering::TypeLegal: in ExpandRes_BITCAST()
50 case TargetLowering::TypePromoteInteger: in ExpandRes_BITCAST()
52 case TargetLowering::TypePromoteFloat: in ExpandRes_BITCAST()
55 case TargetLowering::TypeSoftenFloat: in ExpandRes_BITCAST()
60 case TargetLowering::TypeExpandInteger: in ExpandRes_BITCAST()
61 case TargetLowering::TypeExpandFloat: { in ExpandRes_BITCAST()
72 case TargetLowering::TypeSplitVector: in ExpandRes_BITCAST()
79 case TargetLowering::TypeScalarizeVector: in ExpandRes_BITCAST()
85 case TargetLowering::TypeWidenVector: { in ExpandRes_BITCAST()
519 TargetLowering::TypeSplitVector) in SplitRes_SELECT()
DLegalizeDAG.cpp87 const TargetLowering &TLI;
505 case TargetLowering::Legal: { in LegalizeStoreOps()
519 case TargetLowering::Custom: { in LegalizeStoreOps()
526 case TargetLowering::Promote: { in LegalizeStoreOps()
619 case TargetLowering::Legal: { in LegalizeStoreOps()
630 case TargetLowering::Custom: { in LegalizeStoreOps()
636 case TargetLowering::Expand: in LegalizeStoreOps()
679 case TargetLowering::Legal: { in LegalizeLoadOps()
690 case TargetLowering::Custom: in LegalizeLoadOps()
697 case TargetLowering::Promote: { in LegalizeLoadOps()
[all …]
DSelectionDAGBuilder.cpp214 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromParts()
369 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromPartsVector()
668 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyToPartsVector()
779 RegsForValue::RegsForValue(LLVMContext &Context, const TargetLowering &TLI, in RegsForValue()
811 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyFromRegs()
894 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getCopyToRegs()
950 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in AddInlineAsmOperands()
1302 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in handleDebugValue()
1472 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in getValueImpl()
1796 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in visitRet()
[all …]
DLegalizeIntegerTypes.cpp296 case TargetLowering::TypeLegal: in PromoteIntRes_BITCAST()
298 case TargetLowering::TypePromoteInteger: in PromoteIntRes_BITCAST()
303 case TargetLowering::TypeSoftenFloat: in PromoteIntRes_BITCAST()
306 case TargetLowering::TypePromoteFloat: { in PromoteIntRes_BITCAST()
312 case TargetLowering::TypeExpandInteger: in PromoteIntRes_BITCAST()
313 case TargetLowering::TypeExpandFloat: in PromoteIntRes_BITCAST()
315 case TargetLowering::TypeScalarizeVector: in PromoteIntRes_BITCAST()
321 case TargetLowering::TypeSplitVector: { in PromoteIntRes_BITCAST()
341 case TargetLowering::TypeWidenVector: in PromoteIntRes_BITCAST()
388 static EVT getShiftAmountTyForConstant(EVT VT, const TargetLowering &TLI, in getShiftAmountTyForConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp26 const TargetLowering &TLI = *DAG.getSubtarget().getTargetLowering(); in EmitTargetCodeForMemcpy()
27 TargetLowering::ArgListTy Args; in EmitTargetCodeForMemcpy()
28 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy()
34 TargetLowering::CallLoweringInfo CLI(DAG); in EmitTargetCodeForMemcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp33 const TargetLowering &TLI = *DAG.getSubtarget().getTargetLowering(); in EmitTargetCodeForMemcpy()
34 TargetLowering::ArgListTy Args; in EmitTargetCodeForMemcpy()
35 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemcpy()
50 TargetLowering::CallLoweringInfo CLI(DAG); in EmitTargetCodeForMemcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAnalysis.h32 class TargetLowering; variable
72 void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
78 void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
102 const TargetLowering &TLI);
DSwiftErrorValueTracking.h34 class TargetLowering; variable
40 const TargetLowering *TLI;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.h53 class SparcTargetLowering : public TargetLowering {
89 return TargetLowering::getInlineAsmMemConstraint(ConstraintCode); in getInlineAsmMemConstraint()
143 LowerCall(TargetLowering::CallLoweringInfo &CLI,
145 SDValue LowerCall_32(TargetLowering::CallLoweringInfo &CLI,
147 SDValue LowerCall_64(TargetLowering::CallLoweringInfo &CLI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DCallLowering.h37 class TargetLowering; variable
42 const TargetLowering *TLI;
173 const TargetLowering *getTLI() const { in getTLI()
246 CallLowering(const TargetLowering *TLI) : TLI(TLI) {} in CallLowering()
DGISelKnownBits.h26 class TargetLowering; variable
32 const TargetLowering &TL;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.h58 class RISCVTargetLowering : public TargetLowering {
178 SDValue LowerCall(TargetLowering::CallLoweringInfo &CLI,
208 TargetLowering::AtomicExpansionKind
213 TargetLowering::AtomicExpansionKind
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h73 class MSP430TargetLowering : public TargetLowering {
103 TargetLowering::ConstraintType
164 LowerCall(TargetLowering::CallLoweringInfo &CLI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp36 TargetLowering::ArgListTy Args; in EmitTargetCodeForMemset()
37 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemset()
43 TargetLowering::CallLoweringInfo CLI(DAG); in EmitTargetCodeForMemset()

1234567