HomeSort by relevance Sort by last modified time
    Searched refs:TD (Results 1 - 25 of 233) sorted by null

1 2 3 4 5 6 7 8 910

  /external/llvm/bindings/ocaml/target/
target_ocaml.c 27 CAMLprim value llvm_targetdata_add(LLVMTargetDataRef TD, LLVMPassManagerRef PM){
28 LLVMAddTargetData(TD, PM);
33 CAMLprim value llvm_targetdata_as_string(LLVMTargetDataRef TD) {
34 char *StringRep = LLVMCopyStringRepOfTargetData(TD);
41 CAMLprim value llvm_targetdata_dispose(LLVMTargetDataRef TD) {
42 LLVMDisposeTargetData(TD);
47 CAMLprim value llvm_byte_order(LLVMTargetDataRef TD) {
48 return Val_int(LLVMByteOrder(TD));
52 CAMLprim value llvm_pointer_size(LLVMTargetDataRef TD) {
53 return Val_int(LLVMPointerSize(TD));
    [all...]
  /external/llvm/lib/Target/
Target.cpp 39 void LLVMAddTargetData(LLVMTargetDataRef TD, LLVMPassManagerRef PM) {
40 unwrap(PM)->add(new TargetData(*unwrap(TD)));
48 char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD) {
49 std::string StringRep = unwrap(TD)->getStringRepresentation();
53 LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef TD) {
54 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
57 unsigned LLVMPointerSize(LLVMTargetDataRef TD) {
58 return unwrap(TD)->getPointerSize();
61 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD) {
62 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext()))
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetSelectionDAGInfo.cpp 19 : TD(TM.getTargetData()) {
  /external/llvm/include/llvm/Analysis/
InstructionSimplify.h 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,
78 const TargetData *TD = 0, const DominatorTree *DT = 0)
    [all...]
ValueTracking.h 35 /// type (but only if TD is non-null), and vectors of integers. In the case
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);
65 /// type (but only if TD is non-null), and vectors of integers. In the case
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) {
    [all...]
ConstantFolding.h 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);
CodeMetrics.h 74 void analyzeBasicBlock(const BasicBlock *BB, const TargetData *TD = 0);
78 void analyzeFunction(Function *F, const TargetData *TD = 0);
Loads.h 29 unsigned Align, const TargetData *TD = 0);
MemoryBuiltins.h 47 const CallInst *isArrayMalloc(const Value *I, const TargetData *TD);
68 Value *getMallocArraySize(CallInst *CI, const TargetData *TD,
  /external/llvm/include/llvm/CodeGen/
IntrinsicLowering.h 27 const TargetData& TD;
32 explicit IntrinsicLowering(const TargetData &td) :
33 TD(td), Warned(false) {}
  /external/llvm/include/llvm/Transforms/Utils/
BuildLibCalls.h 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);
80 void EmitPutS(Value *Str, IRBuilder<> &B, const TargetData *TD);
    [all...]
Local.h 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) {
160 return getOrEnforceKnownAlignment(V, 0, TD);
  /external/clang/include/clang/AST/
ASTMutationListener.h 46 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
51 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
  /external/llvm/include/llvm/Target/
Mangler.h 39 const TargetData &TD;
52 Mangler(MCContext &context, const TargetData &td)
53 : Context(context), TD(td), NextAnonGlobalID(1) {}
TargetData.h 131 TargetData(const TargetData &TD) :
133 LittleEndian(TD.isLittleEndian()),
134 PointerMemSize(TD.PointerMemSize),
135 PointerABIAlign(TD.PointerABIAlign),
136 PointerPrefAlign(TD.PointerPrefAlign),
137 LegalIntWidths(TD.LegalIntWidths),
138 Alignments(TD.Alignments),
350 StructLayout(StructType *ST, const TargetData &TD);
TargetSelectionDAGInfo.h 34 const TargetData *TD;
37 const TargetData *getTargetData() const { return TD; }
  /external/clang/test/CodeGenCXX/
2003-11-27-MultipleInheritanceThunk.cpp 11 int TD;
  /external/llvm/lib/Analysis/
Loads.cpp 55 static Value *getUnderlyingObjectWithOffset(Value *V, const TargetData *TD,
65 ByteOffset += TD->getIndexedOffset(GEP->getPointerOperandType(),
87 unsigned Align, const TargetData *TD) {
90 if (TD)
91 Base = getUnderlyingObjectWithOffset(V, TD, ByteOffset);
109 if (TD && BaseAlign == 0)
110 BaseAlign = TD->getPrefTypeAlignment(BaseType);
113 if (!TD)
118 uint64_t LoadSize = TD->getTypeStoreSize(AddrTy->getElementType());
119 if (ByteOffset + LoadSize <= TD->getTypeAllocSize(BaseType) &
    [all...]
ValueTracking.cpp 37 static unsigned getBitWidth(Type *Ty, const TargetData *TD) {
41 return TD ? TD->getPointerSizeInBits() : 0;
56 /// type (but only if TD is non-null), and vectors of integers. In the case
62 const TargetData *TD, unsigned Depth) {
68 assert((!TD ||
69 TD->getTypeSizeInBits(V->getType()->getScalarType()) == BitWidth) &&
96 TD, Depth);
105 if (Align == 0 && TD && GV->getType()->getElementType()->isSized()) {
111 Align = TD->getPrefTypeAlignment(ObjectType)
    [all...]
InstructionSimplify.cpp 97 unsigned OpcToExpand, const TargetData *TD,
110 if (Value *L = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse))
111 if (Value *R = SimplifyBinOp(Opcode, B, C, TD, DT, MaxRecurse)) {
120 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT,
134 if (Value *L = SimplifyBinOp(Opcode, A, B, TD, DT, MaxRecurse))
135 if (Value *R = SimplifyBinOp(Opcode, A, C, TD, DT, MaxRecurse)) {
144 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT,
160 unsigned OpcToExtract, const TargetData *TD,
185 if (Value *V = SimplifyBinOp(Opcode, B, DD, TD, DT, MaxRecurse)) {
194 if (Value *W = SimplifyBinOp(OpcodeToExtract, A, V, TD, DT, MaxRecurse))
    [all...]
ConstantFolding.cpp 47 const TargetData &TD) {
63 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD);
96 C = FoldBitCast(C, DestIVTy, TD);
120 bool isLittleEndian = TD.isLittleEndian();
184 int64_t &Offset, const TargetData &TD) {
198 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD);
209 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD))
222 Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue());
225 Offset += TD.getTypeAllocSize(SQT->getElementType())*CI->getSExtValue();
237 /// the CurPtr buffer. TD is the target data
    [all...]
MemoryBuiltins.cpp 91 static Value *computeArraySize(const CallInst *CI, const TargetData *TD,
98 if (!T || !T->isSized() || !TD)
101 unsigned ElementSize = TD->getTypeAllocSize(T);
103 ElementSize = TD->getStructLayout(ST)->getSizeInBytes();
119 const CallInst *llvm::isArrayMalloc(const Value *I, const TargetData *TD) {
121 Value *ArraySize = computeArraySize(CI, TD);
177 Value *llvm::getMallocArraySize(CallInst *CI, const TargetData *TD,
180 return computeArraySize(CI, TD, LookThroughSExt);
  /external/llvm/lib/Transforms/Scalar/
GlobalMerge.cpp 101 const TargetData *TD;
103 GlobalCmp(const TargetData *td) : TD(td) { }
109 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2));
122 const TargetData *TD = TLI->getTargetData();
130 std::stable_sort(Globals.begin(), Globals.end(), GlobalCmp(TD));
141 MergedSize += TD->getTypeAllocSize(Ty);
173 const TargetData *TD = TLI->getTargetData()
    [all...]
  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 33 Value *llvm::EmitStrLen(Value *Ptr, IRBuilder<> &B, const TargetData *TD) {
42 TD->getIntPtrType(Context),
56 const TargetData *TD) {
74 IRBuilder<> &B, const TargetData *TD) {
87 TD->getIntPtrType(Context), NULL);
100 const TargetData *TD, StringRef Name) {
118 IRBuilder<> &B, const TargetData *TD, StringRef Name) {
138 IRBuilder<> &B, const TargetData *TD) {
148 TD->getIntPtrType(Context),
149 TD->getIntPtrType(Context), NULL)
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.cpp 48 : ExecutionEngine(M), TD(M) {
51 setTargetData(&TD);
57 IL = new IntrinsicLowering(TD);

Completed in 172 milliseconds

1 2 3 4 5 6 7 8 910