Home
last modified time | relevance | path

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

12345678910>>...14

/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/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()
DLazyValueInfo.cpp706 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
711 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
722 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
727 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
740 const DataLayout &DL = BB->getModule()->getDataLayout(); in isObjectDereferencedInBlock()
1440 const DataLayout &DL = F.getParent()->getDataLayout(); in runOnFunction()
1484 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant()
1502 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstantRange()
1518 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge()
1606 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge()
[all …]
DObjCARCAliasAnalysis.cpp135 return ObjCARCAAResult(F.getParent()->getDataLayout()); in run()
151 Result.reset(new ObjCARCAAResult(M.getDataLayout())); in doInitialization()
/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 …]
DFunctionLoweringInfo.cpp96 mf.getDataLayout()); in set()
135 std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty), in set()
144 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty); in set()
181 TLI->ParseConstraints(Fn->getParent()->getDataLayout(), TRI, CS); in set()
299 ComputeValueVTs(*TLI, MF->getDataLayout(), PN->getType(), ValueVTs); in set()
380 ComputeValueVTs(*TLI, MF->getDataLayout(), Ty, ValueVTs); in CreateRegs()
427 ComputeValueVTs(*TLI, MF->getDataLayout(), Ty, ValueVTs); in ComputePHILiveOutRegInfo()
DLegalizeDAG.cpp71 return TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT); in getSetCCResultType()
279 DAG.getConstantPool(LLVMC, TLI.getPointerTy(DAG.getDataLayout())); in ExpandConstantFP()
300 TLI.getPointerTy(DAG.getDataLayout())); in ExpandConstant()
330 EVT PtrVT = TLI.getPointerTy(DAG.getDataLayout()); in PerformInsertVectorEltInMemory()
425 if (DAG.getDataLayout().isBigEndian()) in OptimizeFloatStore()
472 const DataLayout &DL = DAG.getDataLayout(); in LegalizeStoreOps()
505 auto &DL = DAG.getDataLayout(); in LegalizeStoreOps()
637 const DataLayout &DL = DAG.getDataLayout(); in LegalizeLoadOps()
741 auto &DL = DAG.getDataLayout(); in LegalizeLoadOps()
832 const DataLayout &DL = DAG.getDataLayout(); in LegalizeLoadOps()
[all …]
DLegalizeVectorTypes.cpp263 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in ScalarizeVecRes_UnaryOp()
397 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in ScalarizeVecRes_VSETCC()
400 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in ScalarizeVecRes_VSETCC()
765 if (DAG.getDataLayout().isBigEndian()) in SplitVecRes_BITCAST()
784 if (DAG.getDataLayout().isBigEndian()) in SplitVecRes_BITCAST()
789 if (DAG.getDataLayout().isBigEndian()) in SplitVecRes_BITCAST()
842 TLI.getVectorIdxTy(DAG.getDataLayout()))); in SplitVecRes_EXTRACT_SUBVECTOR()
882 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
995 TLI.getVectorIdxTy(DAG.getDataLayout()))); in SplitVecRes_INSERT_VECTOR_ELT()
1014 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
[all …]
/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/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/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/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/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp35 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset()
36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp82 : DL(M->getDataLayout()), LazyFunctionCreator(nullptr) { in ExecutionEngine()
125 return GVMemoryBlock::Create(GV, getDataLayout()); in getMemoryForGV()
196 GV->getParent()->getDataLayout().isDefault() in getMangledName()
197 ? getDataLayout() in getMangledName()
198 : GV->getParent()->getDataLayout(); in getMangledName()
340 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in reset()
415 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in isTargetNullPtr()
1045 const unsigned StoreBytes = getDataLayout().getTypeStoreSize(Ty); in StoreValueToMemory()
1085 if (sys::IsLittleEndianHost != getDataLayout().isLittleEndian()) in StoreValueToMemory()
1122 const unsigned LoadBytes = getDataLayout().getTypeStoreSize(Ty); in LoadValueFromMemory()
[all …]
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp109 NameStr += GV->getParent()->getDataLayout().getPrivateGlobalPrefix(); in getSymbolWithGlobalValueBase()
201 switch (GV->getParent()->getDataLayout().getTypeAllocSize(C->getType())) { in getKindForGlobal()
248 return getSectionForConstant(F.getParent()->getDataLayout(), in getSectionForJumpTable()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp167 M->setDataLayout(Ctx->getTargetInfo().getDataLayout()); in Initialize()
240 M->setDataLayout(Ctx.getTargetInfo().getDataLayout()); in HandleTranslationUnit()
286 Ctx.getTargetInfo().getDataLayout(), M.get(), in HandleTranslationUnit()
293 Ctx.getTargetInfo().getDataLayout(), M.get(), in HandleTranslationUnit()
DCGRecordLayoutBuilder.cpp221 DataLayout(Types.getDataLayout()), IsZeroInitializable(true), in CGRecordLowering()
656 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty)); in MakeInfo()
678 if (Types.getDataLayout().isBigEndian()) { in MakeInfo()
740 assert(TypeSizeInBits == getDataLayout().getTypeAllocSizeInBits(Ty) && in ComputeRecordLayout()
750 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
757 const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST); in ComputeRecordLayout()
792 if (getDataLayout().isBigEndian()) in ComputeRecordLayout()
803 getDataLayout().getTypeAllocSizeInBits(ElementTy) && in ComputeRecordLayout()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_nested.cc58 llvm_ir::ByteSizeOf(param_shape, module_->getDataLayout()); in EmitBasePointersForNestedComputation()
68 root_shape, ir_emitter_context_->llvm_module()->getDataLayout()); in EmitBasePointersForNestedComputation()
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp53 const DataLayout &DL = Printer.getDataLayout(); in GetJumpTableSymbol()
70 const DataLayout &DL = Printer.getDataLayout(); in GetConstantPoolIndexSymbol()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h257 const DataLayout &DL = SrcM.getDataLayout(); in addLogicalModule()
326 const DataLayout &DL = GVsM->getDataLayout(); in addLogicalModule()
397 std::string CalledFnName = mangle(F.getName(), SrcM.getDataLayout()); in extractAndCompile()
404 std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout()); in extractAndCompile()
438 M->setDataLayout(SrcM.getDataLayout()); in emitPartition()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp878 if (DstM->getDataLayout().empty() && !SrcM->getDataLayout().empty()) in run()
879 DstM->setDataLayout(SrcM->getDataLayout()); in run()
885 if (!SrcM->getDataLayout().empty() && !DstM->getDataLayout().empty() && in run()
886 SrcM->getDataLayout() != DstM->getDataLayout()) in run()

12345678910>>...14