Home
last modified time | relevance | path

Searched refs:DataLayout (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h43 class DataLayout; variable
52 const DataLayout &DL,
61 const DataLayout &DL,
70 const DataLayout &DL,
79 const DataLayout &DL,
88 const DataLayout &DL,
96 Value *SimplifyMulInst(Value *LHS, Value *RHS, const DataLayout &DL,
104 Value *SimplifySDivInst(Value *LHS, Value *RHS, const DataLayout &DL,
112 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const DataLayout &DL,
121 const DataLayout &DL,
[all …]
DValueTracking.h27 class DataLayout; variable
46 const DataLayout &DL, unsigned Depth = 0,
56 bool haveNoCommonBitsSet(Value *LHS, Value *RHS, const DataLayout &DL,
64 const DataLayout &DL, unsigned Depth = 0,
74 bool isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL,
84 bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth = 0,
90 bool isKnownNonNegative(Value *V, const DataLayout &DL, unsigned Depth = 0,
97 bool isKnownNonEqual(Value *V1, Value *V2, const DataLayout &DL,
111 bool MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout &DL,
124 unsigned ComputeNumSignBits(Value *Op, const DataLayout &DL,
[all …]
DConstantFolding.h27 class DataLayout; variable
39 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL,
46 ConstantFoldConstantExpression(const ConstantExpr *CE, const DataLayout &DL,
57 const DataLayout &DL,
66 Constant *RHS, const DataLayout &DL,
89 Constant *ConstantFoldLoadFromConstPtr(Constant *C, const DataLayout &DL);
DMemoryBuiltins.h30 class DataLayout; variable
104 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL,
143 bool getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL,
153 const DataLayout &DL;
167 ObjectSizeOffsetVisitor(const DataLayout &DL, const TargetLibraryInfo *TLI,
216 const DataLayout &DL;
232 ObjectSizeOffsetEvaluator(const DataLayout &DL, const TargetLibraryInfo *TLI,
DPHITransAddr.h23 class DataLayout; variable
41 const DataLayout &DL;
53 PHITransAddr(Value *addr, const DataLayout &DL, AssumptionCache *AC) in PHITransAddr()
DBasicAliasAnalysis.h42 const DataLayout &DL;
48 BasicAAResult(const DataLayout &DL, const TargetLibraryInfo &TLI,
137 const DataLayout &DL, unsigned Depth, AssumptionCache *AC,
143 bool &MaxLookupReached, const DataLayout &DL,
/external/llvm/lib/IR/
DDataLayout.cpp40 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) { in StructLayout()
122 DataLayout::InvalidAlignmentElem = { INVALID_ALIGN, 0, 0, 0 };
149 DataLayout::InvalidPointerElem = { 0U, 0U, 0U, ~0U };
155 const char *DataLayout::getManglingComponent(const Triple &T) { in getManglingComponent()
178 void DataLayout::reset(StringRef Desc) { in reset()
223 void DataLayout::parseSpecifier(StringRef Desc) { in parseSpecifier()
381 DataLayout::DataLayout(const Module *M) : LayoutMap(nullptr) { in DataLayout() function in DataLayout
385 void DataLayout::init(const Module *M) { *this = M->getDataLayout(); } in init()
387 bool DataLayout::operator==(const DataLayout &Other) const { in operator ==()
398 DataLayout::setAlignment(AlignTypeEnum align_type, unsigned abi_align, in setAlignment()
[all …]
DMangler.cpp34 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl()
59 const DataLayout &DL, in getNameWithPrefixImpl()
66 const DataLayout &DL) { in getNameWithPrefix()
71 const Twine &GVName, const DataLayout &DL) { in getNameWithPrefix()
91 const DataLayout &DL) { in addByteCountSuffix()
118 const DataLayout &DL = GV->getParent()->getDataLayout(); in getNameWithPrefix()
/external/llvm/include/llvm/IR/
DDataLayout.h104 class DataLayout {
134 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace); in findPointerLowerBound()
185 explicit DataLayout(StringRef LayoutDescription) : LayoutMap(nullptr) { in DataLayout() function
190 explicit DataLayout(const Module *M);
194 DataLayout(const DataLayout &DL) : LayoutMap(nullptr) { *this = DL; } in DataLayout() function
196 DataLayout &operator=(const DataLayout &DL) {
208 bool operator==(const DataLayout &Other) const;
209 bool operator!=(const DataLayout &Other) const { return !(*this == Other); }
211 ~DataLayout(); // Not virtual, do not subclass this class
465 inline DataLayout *unwrap(LLVMTargetDataRef P) { in unwrap()
[all …]
DMangler.h22 class DataLayout; variable
49 const DataLayout &DL);
51 const Twine &GVName, const DataLayout &DL);
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h22 class DataLayout; variable
31 Value *EmitStrLen(Value *Ptr, IRBuilder<> &B, const DataLayout &DL,
38 const DataLayout &DL, const TargetLibraryInfo *TLI);
48 const DataLayout &DL, const TargetLibraryInfo *TLI);
64 IRBuilder<> &B, const DataLayout &DL,
70 const DataLayout &DL, const TargetLibraryInfo *TLI);
74 const DataLayout &DL, const TargetLibraryInfo *TLI);
113 const DataLayout &DL, const TargetLibraryInfo *TLI);
DLocal.h40 class DataLayout; variable
174 const DataLayout &DL,
180 static inline unsigned getKnownAlignment(Value *V, const DataLayout &DL,
193 Value *EmitGEPOffset(IRBuilderTy *Builder, const DataLayout &DL, User *GEP,
/external/llvm/bindings/ocaml/target/
Dllvm_target.mli59 module DataLayout : sig module
63 See the constructor [llvm::DataLayout::DataLayout]. *)
67 See the method [llvm::DataLayout::getStringRepresentation]. *)
78 See the method [llvm::DataLayout::isLittleEndian]. *)
82 See the method [llvm::DataLayout::getPointerSize]. *)
86 See the method [llvm::DataLayout::getIntPtrType]. *)
90 See the method [llvm::DataLayout::getPointerSize]. *)
95 See the method [llvm::DataLayout::getIntPtrType]. *)
99 See the method [llvm::DataLayout::getTypeSizeInBits]. *)
103 See the method [llvm::DataLayout::getTypeStoreSize]. *)
[all …]
Dtarget_ocaml.c33 static void llvm_finalize_data_layout(value DataLayout) { in llvm_finalize_data_layout() argument
34 LLVMDisposeTargetData(DataLayout_val(DataLayout)); in llvm_finalize_data_layout()
47 value llvm_alloc_data_layout(LLVMTargetDataRef DataLayout) { in llvm_alloc_data_layout() argument
50 DataLayout_val(V) = DataLayout; in llvm_alloc_data_layout()
308 CAMLlocal1(DataLayout); in llvm_targetmachine_data_layout()
318 DataLayout = llvm_alloc_data_layout(LLVMCreateTargetData(TargetDataCStr)); in llvm_targetmachine_data_layout()
321 CAMLreturn(DataLayout); in llvm_targetmachine_data_layout()
/external/llvm/include/llvm/CodeGen/
DMachineConstantPool.h29 class DataLayout; variable
108 SectionKind getSectionKind(const DataLayout *DL) const;
126 const DataLayout &DL;
128 const DataLayout &getDataLayout() const { return DL; } in getDataLayout()
132 explicit MachineConstantPool(const DataLayout &DL) in MachineConstantPool()
DIntrinsicLowering.h24 class DataLayout; variable
27 const DataLayout &DL;
32 explicit IntrinsicLowering(const DataLayout &DL) : DL(DL), Warned(false) {} in IntrinsicLowering()
DMachineJumpTableInfo.h29 class DataLayout; variable
87 unsigned getEntrySize(const DataLayout &TD) const;
89 unsigned getEntryAlignment(const DataLayout &TD) const;
DAsmPrinter.h62 class DataLayout; variable
166 const DataLayout &getDataLayout() const;
260 void EmitGlobalConstant(const DataLayout &DL, const Constant *CV);
323 virtual void EmitXXStructor(const DataLayout &DL, const Constant *CV) { in EmitXXStructor()
546 void EmitXXStructorList(const DataLayout &DL, const Constant *List,
/external/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.h33 class DataLayout; variable
57 bool relatedCheck(const Value *A, const Value *B, const DataLayout &DL);
71 bool related(const Value *A, const Value *B, const DataLayout &DL);
DProvenanceAnalysis.cpp35 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect()
50 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()
108 const DataLayout &DL) { in relatedCheck()
164 const DataLayout &DL) { in related()
/external/llvm/include/llvm/Target/
DTargetMachine.h40 class DataLayout; variable
85 const DataLayout DL;
109 const DataLayout &getDataLayout() const { return DL; } in getDataLayout()
140 const DataLayout createDataLayout() const { return DL; } in createDataLayout()
147 bool isCompatibleDataLayout(const DataLayout &Candidate) const { in isCompatibleDataLayout()
/external/llvm/bindings/ocaml/executionengine/
Dexecutionengine_ocaml.c99 value DataLayout; in llvm_ee_get_data_layout() local
105 DataLayout = llvm_alloc_data_layout(LLVMCreateTargetData(TargetDataCStr)); in llvm_ee_get_data_layout()
108 return DataLayout; in llvm_ee_get_data_layout()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.h39 bool IsConstantInSmallSection(const DataLayout &DL, const Constant *CN,
42 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp90 bool instrumentLoadOrStore(Instruction *I, const DataLayout &DL);
91 bool instrumentAtomic(Instruction *I, const DataLayout &DL);
95 const DataLayout &DL);
97 int getMemoryAccessFuncIndex(Value *Addr, const DataLayout &DL);
229 const DataLayout &DL = M.getDataLayout(); in doInitialization()
281 const DataLayout &DL) { in chooseInstructionsToInstrument()
346 const DataLayout &DL = F.getParent()->getDataLayout(); in runOnFunction()
407 const DataLayout &DL) { in instrumentLoadOrStore()
507 bool ThreadSanitizer::instrumentAtomic(Instruction *I, const DataLayout &DL) { in instrumentAtomic()
587 const DataLayout &DL) { in getMemoryAccessFuncIndex()
/external/llvm/lib/Analysis/
DValueTracking.cpp75 static unsigned getBitWidth(Type *Ty, const DataLayout &DL) { in getBitWidth()
131 const DataLayout &DL, unsigned Depth,
135 const DataLayout &DL, unsigned Depth, in computeKnownBits()
142 bool llvm::haveNoCommonBitsSet(Value *LHS, Value *RHS, const DataLayout &DL, in haveNoCommonBitsSet()
158 const DataLayout &DL, unsigned Depth,
162 const DataLayout &DL, unsigned Depth, in ComputeSignBit()
170 const Query &Q, const DataLayout &DL);
172 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo()
180 static bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth,
183 bool llvm::isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth, in isKnownNonZero()
[all …]

12345678910>>...12