/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/strace/linux/i386/ |
syscallent.h | 34 { 3, TD, sys_read, "read", SYS_read }, /* 3 */ 35 { 3, TD, sys_write, "write", SYS_write }, /* 4 */ 36 { 3, TD|TF, sys_open, "open" }, /* 5 */ 37 { 1, TD, sys_close, "close" }, /* 6 */ 39 { 2, TD|TF, sys_creat, "creat" }, /* 8 */ 50 { 3, TD, sys_lseek, "lseek" }, /* 19 */ 59 { 2, TD, sys_oldfstat, "oldfstat" }, /* 28 */ 72 { 1, TD, sys_dup, "dup" }, /* 41 */ 73 { 1, TD, sys_pipe, "pipe" }, /* 42 */ 85 { 3, TD, sys_ioctl, "ioctl" }, /* 54 * [all...] |
/external/strace/linux/sh/ |
syscallent.h | 36 { 3, TD, sys_read, "read" }, /* 3 */ 37 { 3, TD, sys_write, "write" }, /* 4 */ 38 { 3, TD|TF, sys_open, "open" }, /* 5 */ 39 { 1, TD, sys_close, "close" }, /* 6 */ 41 { 2, TD|TF, sys_creat, "creat" }, /* 8 */ 52 { 3, TD, sys_lseek, "lseek" }, /* 19 */ 61 { 2, TD, sys_oldfstat, "oldfstat" }, /* 28 */ 74 { 1, TD, sys_dup, "dup" }, /* 41 */ 75 { 1, TD, sys_pipe, "pipe" }, /* 42 */ 87 { 3, TD, sys_ioctl, "ioctl" }, /* 54 * [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetSelectionDAGInfo.cpp | 19 : TD(TM.getTargetData()) {
|
/external/llvm/include/llvm/Analysis/ |
ValueTracking.h | 35 /// type (but only if TD is non-null), and vectors of integers. In the case 40 const TargetData *TD = 0, unsigned Depth = 0); 46 const TargetData *TD = 0, unsigned Depth = 0); 53 bool isPowerOfTwo(Value *V, const TargetData *TD = 0, bool OrZero = false, 60 bool isKnownNonZero(Value *V, const TargetData *TD = 0, unsigned Depth = 0); 67 /// type (but only if TD is non-null), and vectors of integers. In the case 72 const TargetData *TD = 0, unsigned Depth = 0); 83 unsigned ComputeNumSignBits(Value *Op, const TargetData *TD = 0, 121 const TargetData &TD); 124 const TargetData &TD) { [all...] |
CodeMetrics.h | 29 bool isInstructionFree(const Instruction *I, const TargetData *TD = 0); 88 void analyzeBasicBlock(const BasicBlock *BB, const TargetData *TD = 0); 91 void analyzeFunction(Function *F, const TargetData *TD = 0);
|
InstructionSimplify.h | 35 const TargetData *TD = 0, 42 const TargetData *TD = 0, 48 Value *SimplifyMulInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 54 Value *SimplifySDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 60 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 66 Value *SimplifyFDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 72 Value *SimplifySRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 78 Value *SimplifyURemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 84 Value *SimplifyFRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, 91 const TargetData *TD = 0, [all...] |
ConstantFolding.h | 39 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0, 46 const TargetData *TD = 0, 57 const TargetData *TD = 0, 66 const TargetData *TD = 0, 78 Constant *ConstantFoldLoadFromConstPtr(Constant *C, const TargetData *TD = 0);
|
Loads.h | 30 unsigned Align, const TargetData *TD = 0);
|
InlineCost.h | 105 const TargetData *TD; 108 InlineCostAnalyzer(): TD(0) {} 110 void setTargetData(const TargetData *TData) { TD = TData; }
|
/external/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 31 Value *EmitStrLen(Value *Ptr, IRBuilder<> &B, const TargetData *TD, 38 const TargetData *TD, const TargetLibraryInfo *TLI); 43 Value *EmitStrChr(Value *Ptr, char C, IRBuilder<> &B, const TargetData *TD, 48 const TargetData *TD, const TargetLibraryInfo *TLI); 53 const TargetData *TD, const TargetLibraryInfo *TLI, 59 const TargetData *TD, const TargetLibraryInfo *TLI, 66 IRBuilder<> &B, const TargetData *TD, 72 const TargetData *TD, const TargetLibraryInfo *TLI); 76 const TargetData *TD, const TargetLibraryInfo *TLI); 88 Value *EmitPutChar(Value *Char, IRBuilder<> &B, const TargetData *TD, [all...] |
Local.h | 87 bool SimplifyInstructionsInBlock(BasicBlock *BB, const TargetData *TD = 0, 106 TargetData *TD = 0); 137 bool SimplifyCFG(BasicBlock *BB, const TargetData *TD = 0); 165 const TargetData *TD = 0); 168 static inline unsigned getKnownAlignment(Value *V, const TargetData *TD = 0) { 169 return getOrEnforceKnownAlignment(V, 0, TD); 178 Value *EmitGEPOffset(IRBuilderTy *Builder, const TargetData &TD, User *GEP, 181 Type *IntPtrTy = TD.getIntPtrType(GEP->getContext()); 189 unsigned IntPtrWidth = TD.getPointerSizeInBits(); 195 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask [all...] |
/external/llvm/include/llvm/CodeGen/ |
IntrinsicLowering.h | 27 const TargetData& TD; 32 explicit IntrinsicLowering(const TargetData &td) : 33 TD(td), Warned(false) {}
|
/external/strace/linux/arm/ |
syscallent.h | 121 { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */ 219 { 4, TD|TN, sys_sendfile, "sendfile" }, /* 187 */ 224 { 6, TD, sys_mmap, "mmap2" }, /* 192 */ 264 { 4, TD, sys_fgetxattr, "fgetxattr" }, /* 231 */ 267 { 3, TD, sys_flistxattr, "flistxattr" }, /* 234 */ 270 { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */ 272 { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */ 283 { 1, TD, printargs, "epoll_create" }, /* 250 */ 303 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 270 */ 349 { 0, TD, printargs, "inotify_init" }, /* 316 * [all...] |
/external/llvm/lib/Analysis/ |
CodeMetrics.cpp | 57 bool llvm::isInstructionFree(const Instruction *I, const TargetData *TD) { 92 if (isa<IntToPtrInst>(CI) && TD && 93 TD->isLegalInteger(Op->getType()->getScalarSizeInBits()) && 94 Op->getType()->getScalarSizeInBits() <= TD->getPointerSizeInBits()) 99 if (isa<PtrToIntInst>(CI) && TD && 100 TD->isLegalInteger(Op->getType()->getScalarSizeInBits()) && 101 Op->getType()->getScalarSizeInBits() >= TD->getPointerSizeInBits()) 106 if (TD && isa<TruncInst>(CI) && 107 TD->isLegalInteger(TD->getTypeSizeInBits(CI->getType())) [all...] |
ValueTracking.cpp | 39 static unsigned getBitWidth(Type *Ty, const TargetData *TD) { 43 return TD ? TD->getPointerSizeInBits() : 0; 49 const TargetData *TD, unsigned Depth) { 60 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); 81 llvm::ComputeMaskedBits(Op0, LHSKnownZero, LHSKnownOne, TD, Depth+1); 86 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); 135 const TargetData *TD, unsigned Depth) { 137 ComputeMaskedBits(Op1, KnownZero, KnownOne, TD, Depth+1); 138 ComputeMaskedBits(Op0, KnownZero2, KnownOne2, TD, Depth+1) [all...] |
ConstantFolding.cpp | 48 const TargetData &TD) { 78 unsigned BitShift = TD.getTypeAllocSizeInBits(SrcEltTy); 82 if (TD.isLittleEndian()) 100 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD); 132 C = FoldBitCast(C, DestIVTy, TD); 156 bool isLittleEndian = TD.isLittleEndian(); 221 int64_t &Offset, const TargetData &TD) { 235 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD); 246 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD)) 259 Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue()) [all...] |
/external/llvm/include/llvm/Target/ |
Mangler.h | 37 const TargetData &TD; 50 Mangler(MCContext &context, const TargetData &td) 51 : Context(context), TD(td), NextAnonGlobalID(1) {}
|
TargetData.h | 137 static std::string parseSpecifier(StringRef TargetDescription, TargetData* td = 0); 142 TargetData(const TargetData &TD) : 144 LittleEndian(TD.isLittleEndian()), 145 PointerMemSize(TD.PointerMemSize), 146 PointerABIAlign(TD.PointerABIAlign), 147 PointerPrefAlign(TD.PointerPrefAlign), 148 LegalIntWidths(TD.LegalIntWidths), 149 Alignments(TD.Alignments), 358 StructLayout(StructType *ST, const TargetData &TD);
|
TargetSelectionDAGInfo.h | 34 const TargetData *TD; 37 const TargetData *getTargetData() const { return TD; }
|
/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/clang/test/CodeGenCXX/ |
2003-11-27-MultipleInheritanceThunk.cpp | 11 int TD;
|
/external/strace/linux/mips/ |
syscallent.h | [all...] |
/external/clang/include/clang/AST/ |
ASTMutationListener.h | 48 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, 53 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
|