/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 142 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout() function in AsmPrinter 143 return *TM.getDataLayout(); in getDataLayout() 185 Mang = new Mangler(TM.getDataLayout()); in doInitialization() 378 const DataLayout *DL = TM.getDataLayout(); in EmitGlobalVariable() 1053 const DataLayout *DL = TM.getDataLayout(); in doFinalization() 1134 unsigned PtrSize = TM.getDataLayout()->getPointerSize(0); in doFinalization() 1212 CPE.getSectionKind(TM.getDataLayout()); in EmitConstantPool() 1266 TM.getDataLayout()->getTypeAllocSize(Ty); in EmitConstantPool() 1281 const DataLayout *DL = MF->getTarget().getDataLayout(); in EmitJumpTableInfo() 1303 MJTI->getEntryAlignment(*TM.getDataLayout()))); in EmitJumpTableInfo() [all …]
|
D | DIE.cpp | 233 Size = Asm->getDataLayout().getPointerSize(); break; in EmitValue() 263 case dwarf::DW_FORM_addr: return AP->getDataLayout().getPointerSize(); in SizeOf() 266 return AP->getDataLayout().getPointerSize(); in SizeOf() 295 return AP->getDataLayout().getPointerSize(); in SizeOf() 324 return AP->getDataLayout().getPointerSize(); in SizeOf() 349 return AP->getDataLayout().getPointerSize(); in SizeOf() 416 return AP->getDataLayout().getPointerSize(); in getRefAddrSize() 557 return AP->getDataLayout().getPointerSize(); in SizeOf()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 203 const DataLayout &DL = CS->getModule()->getDataLayout(); in visitCallSite() 377 findValue(V, F->getParent()->getDataLayout(), /*OffsetOk=*/true); in visitReturnInst() 393 findValue(Ptr, I.getModule()->getDataLayout(), /*OffsetOk=*/true); in visitMemoryReference() 432 auto &DL = I.getModule()->getDataLayout(); in visitMemoryReference() 502 findValue(I.getOperand(1), I.getModule()->getDataLayout(), in visitLShr() 510 I.getOperand(1), I.getModule()->getDataLayout(), /*OffsetOk=*/false))) in visitAShr() 517 I.getOperand(1), I.getModule()->getDataLayout(), /*OffsetOk=*/false))) in visitShl() 744 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSDiv() 749 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitUDiv() 754 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSRem() [all …]
|
D | LazyValueInfo.cpp | 575 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer() 580 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer() 591 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer() 596 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer() 613 const DataLayout &DL = BB->getModule()->getDataLayout(); in solveBlockValueNonLocal() 1115 const DataLayout &DL = F.getParent()->getDataLayout(); in runOnFunction() 1146 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant() 1165 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge() 1253 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge() 1263 const DataLayout &DL = CxtI->getModule()->getDataLayout(); in getPredicateAt() [all …]
|
D | Loads.cpp | 67 const DataLayout &DL = ScanFrom->getModule()->getDataLayout(); in isSafeToLoadUnconditionally() 178 const DataLayout &DL = ScanBB->getModule()->getDataLayout(); in FindAvailableLoadedValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 94 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair() 140 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads() 160 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads() 212 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads() 229 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
|
D | SeparateConstOffsetFromGEP.cpp | 659 const DataLayout &DL = IP->getModule()->getDataLayout(); in ComputeKnownBits() 675 const DataLayout &DL = GEP->getModule()->getDataLayout(); in canonicalizeArrayIndicesToPointerSize() 697 const DataLayout &DL = GEP->getModule()->getDataLayout(); in accumulateByteOffset() 728 const DataLayout &DL = Variadic->getModule()->getDataLayout(); in lowerToSingleIndexGEPs() 782 const DataLayout &DL = Variadic->getModule()->getDataLayout(); in lowerToArithmetics() 949 const DataLayout &DL = GEP->getModule()->getDataLayout(); in splitGEP()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUSubtarget.cpp | 73 AMDGPUSubtarget::getDataLayout() const in getDataLayout() function in AMDGPUSubtarget 82 return mDevice->getDataLayout(); in getDataLayout()
|
D | AMDILSIDevice.h | 40 virtual std::string getDataLayout() const;
|
D | AMDILSIDevice.cpp | 41 AMDGPUSIDevice::getDataLayout() const in getDataLayout() function in AMDGPUSIDevice
|
/external/llvm/lib/CodeGen/ |
D | ScheduleDAGInstrs.cpp | 890 adjustChainDeps(AA, MFI, *TM.getDataLayout(), SU, &ExitSU, RejectMemNodes, in buildSchedGraph() 903 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, AliasChain, in buildSchedGraph() 908 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() 914 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() 920 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() 923 adjustChainDeps(AA, MFI, *TM.getDataLayout(), SU, &ExitSU, RejectMemNodes, in buildSchedGraph() 937 getUnderlyingObjectsForInstr(MI, MFI, Objs, *TM.getDataLayout()); in buildSchedGraph() 961 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() 986 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() 996 addChainDependency(AAForDep, MFI, *TM.getDataLayout(), SU, in buildSchedGraph() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 138 MP.Functions.back()->setDataLayout(M.getDataLayout()); in fullyPartition() 145 MP.GlobalVars->setDataLayout(M.getDataLayout()); in fullyPartition() 149 MP.Commons->setDataLayout(M.getDataLayout()); in fullyPartition()
|
D | OrcMCJITReplacement.h | 145 Mang(this->TM->getDataLayout()), in OrcMCJITReplacement() 150 setDataLayout(this->TM->getDataLayout()); in OrcMCJITReplacement() 157 if (M->getDataLayout().isDefault()) in addModule() 158 M->setDataLayout(*getDataLayout()); in addModule()
|
/external/llvm/tools/lli/ |
D | OrcLazyJIT.h | 56 Mang(this->TM->getDataLayout()), in OrcLazyJIT() 80 if (M->getDataLayout().isDefault()) in addModule() 81 M->setDataLayout(*TM->getDataLayout()); in addModule()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 110 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl() 135 LocalSData && IsInSmallSection(TM.getDataLayout()->getTypeAllocSize( in IsConstantInSmallSection()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 210 DataLayout(Types.getDataLayout()), IsZeroInitializable(true), in CGRecordLowering() 640 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty)); in MakeInfo() 662 if (Types.getDataLayout().isBigEndian()) { in MakeInfo() 724 assert(TypeSizeInBits == getDataLayout().getTypeAllocSizeInBits(Ty) && in ComputeRecordLayout() 734 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout() 741 const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST); in ComputeRecordLayout() 776 if (getDataLayout().isBigEndian()) in ComputeRecordLayout() 787 getDataLayout().getTypeAllocSizeInBits(ElementTy) && in ComputeRecordLayout()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 53 const DataLayout *DL = Printer.TM.getDataLayout(); in GetJumpTableSymbol() 70 const DataLayout *DL = Printer.TM.getDataLayout(); in GetConstantPoolIndexSymbol()
|
D | MSP430Subtarget.cpp | 38 TSInfo(*TM.getDataLayout()) {} in MSP430Subtarget()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ProvenanceAnalysis.cpp | 35 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect() 50 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMachineFunctionInfo.cpp | 21 const DataLayout *DL = MF.getTarget().getDataLayout(); in getPICOffsetSymbol()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreSubtarget.cpp | 31 TLInfo(TM, *this), TSInfo(*TM.getDataLayout()) {} in XCoreSubtarget()
|
/external/llvm/lib/Target/BPF/ |
D | BPFSubtarget.cpp | 31 TLInfo(TM, *this), TSInfo(TM.getDataLayout()) {} in BPFSubtarget()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 118 return GVMemoryBlock::Create(GV, *getDataLayout()); in getMemoryForGV() 321 unsigned PtrSize = EE->getDataLayout()->getPointerSize(); in reset() 396 unsigned PtrSize = EE->getDataLayout()->getPointerSize(); in isTargetNullPtr() 1028 const unsigned StoreBytes = getDataLayout()->getTypeStoreSize(Ty); in StoreValueToMemory() 1068 if (sys::IsLittleEndianHost != getDataLayout()->isLittleEndian()) in StoreValueToMemory() 1105 const unsigned LoadBytes = getDataLayout()->getTypeStoreSize(Ty); in LoadValueFromMemory() 1171 getDataLayout()->getTypeAllocSize(CP->getType()->getElementType()); in InitializeMemory() 1178 memset(Addr, 0, (size_t)getDataLayout()->getTypeAllocSize(Init->getType())); in InitializeMemory() 1184 getDataLayout()->getTypeAllocSize(CPA->getType()->getElementType()); in InitializeMemory() 1192 getDataLayout()->getStructLayout(cast<StructType>(CPS->getType())); in InitializeMemory() [all …]
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 245 const DataLayout &DL = F.getParent()->getDataLayout(); in accumulateGEPOffset() 288 const DataLayout &DL = F.getParent()->getDataLayout(); in visitAlloca() 408 const DataLayout &DL = F.getParent()->getDataLayout(); in visitPtrToInt() 446 const DataLayout &DL = F.getParent()->getDataLayout(); in visitIntToPtr() 485 const DataLayout &DL = F.getParent()->getDataLayout(); in visitUnaryInstruction() 596 const DataLayout &DL = F.getParent()->getDataLayout(); in visitBinaryOperator() 984 const DataLayout &DL = F.getParent()->getDataLayout(); in stripAndComputeInBoundsConstantOffsets() 1040 const DataLayout &DL = F.getParent()->getDataLayout(); in analyzeCall()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUTargetTransformInfo.cpp | 40 const DataLayout &DL = BB->getModule()->getDataLayout(); in getUnrollingPreferences()
|