Home
last modified time | relevance | path

Searched refs:getDataLayout (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/external/llvm/lib/Target/PowerPC/
DPPCMachineFunctionInfo.cpp21 const DataLayout &DL = MF.getDataLayout(); in getPICOffsetSymbol()
28 const DataLayout &DL = MF.getDataLayout(); in getGlobalEPSymbol()
35 const DataLayout &DL = MF.getDataLayout(); in getLocalEPSymbol()
42 const DataLayout &DL = MF.getDataLayout(); in getTOCOffsetSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMachineFunctionInfo.cpp20 const DataLayout &DL = MF.getDataLayout(); in getPICOffsetSymbol()
27 const DataLayout &DL = MF.getDataLayout(); in getGlobalEPSymbol()
34 const DataLayout &DL = MF.getDataLayout(); in getLocalEPSymbol()
41 const DataLayout &DL = MF.getDataLayout(); in getTOCOffsetSymbol()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp24 const auto &DL = LI->getModule()->getDataLayout(); in get()
33 const auto &DL = SI->getModule()->getDataLayout(); in get()
50 const auto &DL = CXI->getModule()->getDataLayout(); in get()
60 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
102 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp69 auto &DL = DAG.getDataLayout(); in ExpandRes_BITCAST()
81 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
98 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
131 DAG.getConstant(i, dl, TLI.getVectorIdxTy(DAG.getDataLayout())))); in ExpandRes_BITCAST()
141 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_BITCAST()
153 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_BITCAST()
165 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment( in ExpandRes_BITCAST()
192 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
251 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_EXTRACT_VECTOR_ELT()
292 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout())) in ExpandRes_NormalLoad()
[all …]
DSelectionDAGBuilder.cpp166 if (DAG.getDataLayout().isBigEndian()) in getCopyFromParts()
180 if (DAG.getDataLayout().isBigEndian()) in getCopyFromParts()
187 TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
198 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout())) in getCopyFromParts()
249 DAG.getTargetConstant(1, DL, TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
341 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyFromPartsVector()
471 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
506 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
537 DAG.getConstant(i, DL, TLI.getVectorIdxTy(DAG.getDataLayout())))); in getCopyToPartsVector()
562 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyToPartsVector()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryLocation.cpp24 const auto &DL = LI->getModule()->getDataLayout(); in get()
33 const auto &DL = SI->getModule()->getDataLayout(); in get()
50 const auto &DL = CXI->getModule()->getDataLayout(); in get()
60 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
118 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
DLazyValueInfo.cpp652 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
657 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
668 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
673 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
686 const DataLayout &DL = BB->getModule()->getDataLayout(); in isObjectDereferencedInBlock()
1266 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal()
1329 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal()
1478 const DataLayout &DL = F.getParent()->getDataLayout(); in runOnFunction()
1530 return LazyValueInfo(&AC, &F.getParent()->getDataLayout(), &TLI, DT); in run()
1553 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp69 auto &DL = DAG.getDataLayout(); in ExpandRes_BITCAST()
81 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
98 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
131 DAG.getConstant(i, dl, TLI.getVectorIdxTy(DAG.getDataLayout())))); in ExpandRes_BITCAST()
141 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_BITCAST()
152 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_BITCAST()
164 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment( in ExpandRes_BITCAST()
189 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) in ExpandRes_BITCAST()
248 if (DAG.getDataLayout().isBigEndian()) in ExpandRes_EXTRACT_VECTOR_ELT()
285 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout())) in ExpandRes_NormalLoad()
[all …]
DSelectionDAGBuilder.cpp235 if (DAG.getDataLayout().isBigEndian()) in getCopyFromParts()
249 if (DAG.getDataLayout().isBigEndian()) in getCopyFromParts()
256 TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
267 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout())) in getCopyFromParts()
318 DAG.getTargetConstant(1, DL, TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
427 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyFromPartsVector()
461 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyFromPartsVector()
578 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
613 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
645 DAG.getConstant(i, DL, TLI.getVectorIdxTy(DAG.getDataLayout())))); in getCopyToPartsVector()
[all …]
DFunctionLoweringInfo.cpp95 mf.getDataLayout()); in set()
137 std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty), in set()
146 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty); in set()
185 TLI->ParseConstraints(Fn->getParent()->getDataLayout(), TRI, CS); in set()
281 ComputeValueVTs(*TLI, MF->getDataLayout(), PN.getType(), ValueVTs); in set()
371 ComputeValueVTs(*TLI, MF->getDataLayout(), Ty, ValueVTs); in CreateRegs()
417 ComputeValueVTs(*TLI, MF->getDataLayout(), Ty, ValueVTs); in ComputePHILiveOutRegInfo()
539 auto &DL = MF->getDataLayout(); in getOrCreateSwiftErrorVReg()
558 auto &DL = MF->getDataLayout(); in getOrCreateSwiftErrorVRegDefAt()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp141 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout() function in AsmPrinter
142 return MMI->getModule()->getDataLayout(); in getDataLayout()
401 const DataLayout &DL = GV->getParent()->getDataLayout(); in EmitGlobalVariable()
497 EmitGlobalConstant(GV->getParent()->getDataLayout(), in EmitGlobalVariable()
534 EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer()); in EmitGlobalVariable()
572 EmitGlobalConstant(F->getParent()->getDataLayout(), F->getPrefixData()); in EmitFunctionHeader()
607 EmitGlobalConstant(F->getParent()->getDataLayout(), F->getPrologueData()); in EmitFunctionHeader()
1101 const DataLayout &DL = M.getDataLayout(); in emitGlobalIndirectSymbol()
1155 const DataLayout &DL = M.getDataLayout(); in doFinalization()
1225 getDataLayout(), SectionKind::getReadOnly(), in doFinalization()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp53 EXPECT_FALSE(LV1.mergeIn(ValueLatticeElement::get(C1), M.getDataLayout())); in TEST_F()
59 M.getDataLayout())); in TEST_F()
65 EXPECT_FALSE(LV1.mergeIn(LV1, M.getDataLayout())); in TEST_F()
72 EXPECT_TRUE(LV2.mergeIn(LV1, M.getDataLayout())); in TEST_F()
82 LV1.mergeIn(ValueLatticeElement::getOverdefined(), M.getDataLayout())); in TEST_F()
87 LV1.mergeIn(ValueLatticeElement::getOverdefined(), M.getDataLayout())); in TEST_F()
153 M.getDataLayout())); in TEST_F()
DValueTrackingTest.cpp260 EXPECT_EQ(ComputeNumSignBits(RVal, M->getDataLayout()), 1u); in TEST()
285 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST()
311 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp213 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout() function in AsmPrinter
214 return MMI->getModule()->getDataLayout(); in getDataLayout()
482 const DataLayout &DL = GV->getParent()->getDataLayout(); in EmitGlobalVariable()
579 EmitGlobalConstant(GV->getParent()->getDataLayout(), in EmitGlobalVariable()
616 EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer()); in EmitGlobalVariable()
675 EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData()); in EmitFunctionHeader()
680 EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData()); in EmitFunctionHeader()
718 EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrologueData()); in EmitFunctionHeader()
1337 const DataLayout &DL = M.getDataLayout(); in emitGlobalIndirectSymbol()
1386 const DataLayout &DL = M.getDataLayout(); in doFinalization()
[all …]
DAddressPool.cpp29 static const uint8_t AddrSize = Asm.getDataLayout().getPointerSize(); in emitHeader()
63 Asm.OutStreamer->EmitValue(Entry, Asm.getDataLayout().getPointerSize()); in emit()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp96 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair()
151 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
173 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
225 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
242 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSCCP.cpp9 const DataLayout &DL = M.getDataLayout(); in run()
34 const DataLayout &DL = M.getDataLayout(); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp84 if (First->getDataLayout().isDefault()) in MCJIT()
85 First->setDataLayout(getDataLayout()); in MCJIT()
106 if (M->getDataLayout().isDefault()) in addModule()
107 M->setDataLayout(getDataLayout()); in addModule()
204 assert(M->getDataLayout() == getDataLayout() && "DataLayout Mismatch"); in generateCodeForModule()
293 if (DemangledName[0] == getDataLayout().getGlobalPrefix()) in findModuleForSymbol()
322 Mangler::getNameWithPrefix(MangledNameStream, Name, getDataLayout()); in getSymbolAddress()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp88 if (First->getDataLayout().isDefault()) in MCJIT()
89 First->setDataLayout(getDataLayout()); in MCJIT()
110 if (M->getDataLayout().isDefault()) in addModule()
111 M->setDataLayout(getDataLayout()); in addModule()
202 assert(M->getDataLayout() == getDataLayout() && "DataLayout Mismatch"); in generateCodeForModule()
281 Mangler::getNameWithPrefix(FullName, Name, getDataLayout()); in findExistingSymbol()
/external/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
41 TLI.getPointerTy(DAG.getDataLayout())), in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
41 "__memcpy_4", TLI.getPointerTy(DAG.getDataLayout())), in EmitTargetCodeForMemcpy()
/external/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
54 SpecialMemcpyName, TLI.getPointerTy(DAG.getDataLayout())), in EmitTargetCodeForMemcpy()
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp560 DAG.getCopyFromReg(Chain, DL, Reg, getPointerTy(DAG.getDataLayout())); in LowerReturn()
565 DAG.getRegister(Lanai::RV, getPointerTy(DAG.getDataLayout()))); in LowerReturn()
624 SDValue FIPtr = DAG.getFrameIndex(FI, getPointerTy(DAG.getDataLayout())); in LowerCCCCallTo()
637 DAG.getConstant(NumBytes, DL, getPointerTy(DAG.getDataLayout()), true), in LowerCCCCallTo()
680 getPointerTy(DAG.getDataLayout())); in LowerCCCCallTo()
683 DAG.getNode(ISD::ADD, DL, getPointerTy(DAG.getDataLayout()), StackPtr, in LowerCCCCallTo()
714 G->getGlobal(), DL, getPointerTy(DAG.getDataLayout()), 0, OpFlag); in LowerCCCCallTo()
717 E->getSymbol(), getPointerTy(DAG.getDataLayout()), OpFlag); in LowerCCCCallTo()
749 DAG.getConstant(NumBytes, DL, getPointerTy(DAG.getDataLayout()), true), in LowerCCCCallTo()
750 DAG.getConstant(0, DL, getPointerTy(DAG.getDataLayout()), true), InFlag, in LowerCCCCallTo()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h163 if (M->getDataLayout().isDefault()) { in addModule()
164 M->setDataLayout(getDataLayout()); in addModule()
166 assert(M->getDataLayout() == getDataLayout() && "DataLayout Mismatch"); in addModule()
337 Mang.getNameWithPrefix(MangledNameStream, Name, getDataLayout()); in Mangle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp35 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset()
36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()

12345678910>>...27