/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | InstructionSimplify.h | 26 class TargetData; variable 33 const TargetData *TD = 0, const DominatorTree *DT = 0); 38 const TargetData *TD = 0, const DominatorTree *DT = 0); 42 Value *SimplifyMulInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 47 Value *SimplifySDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 52 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 57 Value *SimplifyFDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 62 Value *SimplifySRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 67 Value *SimplifyURemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 72 Value *SimplifyFRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, [all …]
|
D | ValueTracking.h | 27 class TargetData; variable 40 APInt &KnownOne, const TargetData *TD = 0, 46 const TargetData *TD = 0, unsigned Depth = 0); 52 bool isPowerOfTwo(Value *V, const TargetData *TD = 0, unsigned Depth = 0); 58 bool isKnownNonZero(Value *V, const TargetData *TD = 0, unsigned Depth = 0); 70 const TargetData *TD = 0, unsigned Depth = 0); 81 unsigned ComputeNumSignBits(Value *Op, const TargetData *TD = 0, 119 const TargetData &TD); 122 const TargetData &TD) { in GetPointerBaseWithConstantOffset() 145 Value *GetUnderlyingObject(Value *V, const TargetData *TD = 0, [all …]
|
D | ConstantFolding.h | 27 class TargetData; variable 38 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0); 44 const TargetData *TD = 0); 54 const TargetData *TD = 0); 62 const TargetData *TD = 0); 73 Constant *ConstantFoldLoadFromConstPtr(Constant *C, const TargetData *TD = 0);
|
D | CodeMetrics.h | 22 class TargetData; variable 74 void analyzeBasicBlock(const BasicBlock *BB, const TargetData *TD = 0); 78 void analyzeFunction(Function *F, const TargetData *TD = 0);
|
D | MemoryBuiltins.h | 21 class TargetData; variable 47 const CallInst *isArrayMalloc(const Value *I, const TargetData *TD); 68 Value *getMallocArraySize(CallInst *CI, const TargetData *TD,
|
D | InlineCost.h | 32 class TargetData; variable 117 void analyzeFunction(Function *F, const TargetData *TD); 129 const TargetData *TD; 138 void setTargetData(const TargetData *TData) { TD = TData; } in setTargetData()
|
D | PHITransAddr.h | 22 class TargetData; variable 39 const TargetData *TD; 44 PHITransAddr(Value *addr, const TargetData *td) : Addr(addr), TD(td) { in PHITransAddr()
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/target/ |
D | llvm_target.mli | 21 module TargetData : sig module 24 (** [TargetData.create rep] parses the target data string representation [rep]. 25 See the constructor llvm::TargetData::TargetData. *) 35 See the constructor llvm::TargetData::TargetData. *) 38 (** Deallocates a TargetData. 39 See the destructor llvm::TargetData::~TargetData. *) 45 See the method llvm::TargetData::isLittleEndian. *) 46 external byte_order : TargetData.t -> Endian.t = "llvm_byte_order" 49 See the method llvm::TargetData::getPointerSize. *) 50 external pointer_size : TargetData.t -> int = "llvm_pointer_size" [all …]
|
D | llvm_target.ml | 16 module TargetData = struct module 26 external byte_order : TargetData.t -> Endian.t = "llvm_byte_order" 27 external pointer_size : TargetData.t -> int = "llvm_pointer_size" 28 external intptr_type : TargetData.t -> Llvm.lltype = "LLVMIntPtrType" 29 external size_in_bits : TargetData.t -> Llvm.lltype -> Int64.t 31 external store_size : TargetData.t -> Llvm.lltype -> Int64.t = "llvm_store_size" 32 external abi_size : TargetData.t -> Llvm.lltype -> Int64.t = "llvm_abi_size" 33 external abi_align : TargetData.t -> Llvm.lltype -> int = "llvm_abi_align" 34 external stack_align : TargetData.t -> Llvm.lltype -> int = "llvm_stack_align" 35 external preferred_align : TargetData.t -> Llvm.lltype -> int [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 22 class TargetData; variable 30 Value *EmitStrLen(Value *Ptr, IRBuilder<> &B, const TargetData *TD); 35 Value *EmitStrChr(Value *Ptr, char C, IRBuilder<> &B, const TargetData *TD); 39 const TargetData *TD); 44 const TargetData *TD, StringRef Name = "strcpy"); 49 const TargetData *TD, StringRef Name = "strncpy"); 55 IRBuilder<> &B, const TargetData *TD); 60 const TargetData *TD); 64 const TargetData *TD); 76 Value *EmitPutChar(Value *Char, IRBuilder<> &B, const TargetData *TD); [all …]
|
D | Local.h | 33 class TargetData; variable 79 bool SimplifyInstructionsInBlock(BasicBlock *BB, const TargetData *TD = 0); 97 TargetData *TD = 0); 128 bool SimplifyCFG(BasicBlock *BB, const TargetData *TD = 0); 156 const TargetData *TD = 0); 159 static inline unsigned getKnownAlignment(Value *V, const TargetData *TD = 0) {
|
D | Cloning.h | 42 class TargetData; variable 167 const TargetData *TD = 0, 175 explicit InlineFunctionInfo(CallGraph *cg = 0, const TargetData *td = 0) 181 const TargetData *TD;
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetData.cpp | 37 INITIALIZE_PASS(TargetData, "targetdata", "Target Data Layout", false, true) 38 char TargetData::ID = 0; 44 StructLayout::StructLayout(StructType *ST, const TargetData &TD) { in StructLayout() 57 StructSize = TargetData::RoundUpAlignment(StructSize, TyAlign); in StructLayout() 72 StructSize = TargetData::RoundUpAlignment(StructSize, StructAlignment); in StructLayout() 120 const TargetAlignElem TargetData::InvalidAlignmentElem = 134 void TargetData::init(StringRef Desc) { in init() 238 TargetData::TargetData() : ImmutablePass(ID) { in TargetData() function in TargetData 243 TargetData::TargetData(const Module *M) in TargetData() function in TargetData 249 TargetData::setAlignment(AlignTypeEnum align_type, unsigned abi_align, in setAlignment() [all …]
|
/external/llvm/bindings/go/llvm/ |
D | target.go | 27 TargetData struct { struct 117 func NewTargetData(rep string) (td TargetData) { 127 func (td TargetData) String() (s string) { argument 136 func (td TargetData) ByteOrder() ByteOrdering { return ByteOrdering(C.LLVMByteOrder(td.C)) } argument 140 func (td TargetData) PointerSize() int { return int(C.LLVMPointerSize(td.C)) } argument 144 func (td TargetData) IntPtrType() (t Type) { t.C = C.LLVMIntPtrType(td.C); return } argument 148 func (td TargetData) TypeSizeInBits(t Type) uint64 { argument 154 func (td TargetData) TypeStoreSize(t Type) uint64 { argument 160 func (td TargetData) TypeAllocSize(t Type) uint64 { argument 166 func (td TargetData) ABITypeAlignment(t Type) int { argument [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetData.h | 74 class TargetData : public ImmutablePass { 120 TargetData(); 123 explicit TargetData(StringRef TargetDescription) in TargetData() function 129 explicit TargetData(const Module *M); 131 TargetData(const TargetData &TD) : in TargetData() function 142 ~TargetData(); // Not virtual, do not subclass this class 349 friend class TargetData; // Only TargetData can create this class 350 StructLayout(StructType *ST, const TargetData &TD);
|
D | Mangler.h | 27 class TargetData; variable 39 const TargetData &TD; 52 Mangler(MCContext &context, const TargetData &td) in Mangler()
|
D | TargetSelectionDAGInfo.h | 23 class TargetData; variable 34 const TargetData *TD; 37 const TargetData *getTargetData() const { return TD; } in getTargetData()
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | Target.h | 165 class TargetData; variable 168 inline TargetData *unwrap(LLVMTargetDataRef P) { in unwrap() 169 return reinterpret_cast<TargetData*>(P); in unwrap() 172 inline LLVMTargetDataRef wrap(const TargetData *P) { in wrap() 173 return reinterpret_cast<LLVMTargetDataRef>(const_cast<TargetData*>(P)); in wrap()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | IntrinsicLowering.h | 24 class TargetData; variable 27 const TargetData& TD; 32 explicit IntrinsicLowering(const TargetData &td) : in IntrinsicLowering()
|
D | MachineJumpTableInfo.h | 29 class TargetData; variable 82 unsigned getEntrySize(const TargetData &TD) const; 84 unsigned getEntryAlignment(const TargetData &TD) const;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 40 static Value *SimplifyAndInst(Value *, Value *, const TargetData *, 42 static Value *SimplifyBinOp(unsigned, Value *, Value *, const TargetData *, 44 static Value *SimplifyCmpInst(unsigned, Value *, Value *, const TargetData *, 46 static Value *SimplifyOrInst(Value *, Value *, const TargetData *, 48 static Value *SimplifyXorInst(Value *, Value *, const TargetData *, 97 unsigned OpcToExpand, const TargetData *TD, in ExpandBinOp() 160 unsigned OpcToExtract, const TargetData *TD, in FactorizeBinOp() 230 const TargetData *TD, in SimplifyAssociativeBinOp() 331 const TargetData *TD, in ThreadBinOpOverSelect() 405 Value *RHS, const TargetData *TD, in ThreadCmpOverSelect() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 33 Value *llvm::EmitStrLen(Value *Ptr, IRBuilder<> &B, const TargetData *TD) { in EmitStrLen() 56 const TargetData *TD) { in EmitStrChr() 74 IRBuilder<> &B, const TargetData *TD) { in EmitStrNCmp() 100 const TargetData *TD, StringRef Name) { in EmitStrCpy() 118 IRBuilder<> &B, const TargetData *TD, StringRef Name) { in EmitStrNCpy() 138 IRBuilder<> &B, const TargetData *TD) { in EmitMemCpyChk() 161 Value *Len, IRBuilder<> &B, const TargetData *TD) { in EmitMemChr() 182 Value *Len, IRBuilder<> &B, const TargetData *TD) { in EmitMemCmp() 238 Value *llvm::EmitPutChar(Value *Char, IRBuilder<> &B, const TargetData *TD) { in EmitPutChar() 256 void llvm::EmitPutS(Value *Str, IRBuilder<> &B, const TargetData *TD) { in EmitPutS() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | PassManagerTest.cpp | 97 EXPECT_TRUE(getAnalysisIfAvailable<TargetData>()); in runOnModule() 170 EXPECT_TRUE(getAnalysisIfAvailable<TargetData>()); in runOnSCC() 207 EXPECT_TRUE(getAnalysisIfAvailable<TargetData>()); in runOnLoop() 244 EXPECT_TRUE(getAnalysisIfAvailable<TargetData>()); in runOnBasicBlock() 269 EXPECT_TRUE(getAnalysisIfAvailable<TargetData>()); in runOnModule() 295 Passes.add(new TargetData(&M)); in TEST() 319 Passes.add(new TargetData(&M)); in TEST() 341 Passes.add(new TargetData(M.get())); in MemoryTestHelper() 352 Passes.add(new TargetData(M)); in MemoryTestHelper() 390 Passes.add(new TargetData(M)); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86TargetMachine.h | 80 const TargetData DataLayout; // Calculates type size & alignment 89 virtual const TargetData *getTargetData() const { return &DataLayout; } in getTargetData() 107 const TargetData DataLayout; // Calculates type size & alignment 116 virtual const TargetData *getTargetData() const { return &DataLayout; } in getTargetData()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMTargetMachine.h | 66 const TargetData DataLayout; // Calculates type size & alignment 92 virtual const TargetData *getTargetData() const { return &DataLayout; } in getTargetData() 105 const TargetData DataLayout; // Calculates type size & alignment 137 virtual const TargetData *getTargetData() const { return &DataLayout; } in getTargetData()
|