/external/llvm/lib/Target/PowerPC/ |
D | PPCMachineFunctionInfo.cpp | 21 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/ |
D | MemoryLocation.cpp | 24 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()
|
D | LazyValueInfo.cpp | 706 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 …]
|
D | ObjCARCAliasAnalysis.cpp | 135 return ObjCARCAAResult(F.getParent()->getDataLayout()); in run() 151 Result.reset(new ObjCARCAAResult(M.getDataLayout())); in doInitialization()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 69 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 …]
|
D | SelectionDAGBuilder.cpp | 166 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 …]
|
D | FunctionLoweringInfo.cpp | 96 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()
|
D | LegalizeDAG.cpp | 71 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 …]
|
D | LegalizeVectorTypes.cpp | 263 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/ |
D | AsmPrinter.cpp | 141 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/ |
D | LoadCombine.cpp | 96 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/ |
D | MCJIT.cpp | 88 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/ |
D | XCoreSelectionDAGInfo.cpp | 30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy() 41 TLI.getPointerTy(DAG.getDataLayout())), in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSelectionDAGInfo.cpp | 37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy() 54 SpecialMemcpyName, TLI.getPointerTy(DAG.getDataLayout())), in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 560 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/ |
D | OrcMCJITReplacement.h | 163 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/ |
D | AArch64SelectionDAGInfo.cpp | 35 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() 36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 82 : 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/ |
D | TargetLoweringObjectFile.cpp | 109 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/ |
D | ObjectFilePCHContainerOperations.cpp | 167 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()
|
D | CGRecordLayoutBuilder.cpp | 221 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/ |
D | ir_emitter_nested.cc | 58 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/ |
D | MSP430MCInstLower.cpp | 53 const DataLayout &DL = Printer.getDataLayout(); in GetJumpTableSymbol() 70 const DataLayout &DL = Printer.getDataLayout(); in GetConstantPoolIndexSymbol()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 257 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/ |
D | LinkModules.cpp | 878 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()
|