/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 168 if (IntegerType *ITy = in getKindForGlobal() local 170 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 171 ITy->getBitWidth() == 32) && in getKindForGlobal() 173 if (ITy->getBitWidth() == 8) in getKindForGlobal() 175 if (ITy->getBitWidth() == 16) in getKindForGlobal() 178 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 65 template<typename ITy> 66 bool match(ITy *V) { return isa<Class>(V); } in match() 88 template<typename ITy> 89 bool match(ITy *V) { in match() 105 template<typename ITy> 106 bool match(ITy *V) { in match() 127 template<typename ITy> 128 bool match(ITy *V) { in match() 140 template<typename ITy> 141 bool match(ITy *V) { in match() [all …]
|
/external/valgrind/main/memcheck/tests/ |
D | sh-mem.c | 133 #define DO(NNN, Ty, ITy, isF4) \ in main() argument 134 fprintf(stderr, "-- NNN: %d %s %s ------------------------\n", NNN, #Ty, #ITy); \ in main() 152 ITy undefN_ITy = (ITy)tmp; \ in main() 157 ITy undefN_ITyDef = undefN_ITy; \ in main()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1855 Type *ITy = GetCompareTy(LHS); // The return type. in SimplifyICmpInst() local 1862 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst() 1907 return getFalse(ITy); in SimplifyICmpInst() 1909 return getTrue(ITy); in SimplifyICmpInst() 1913 return getFalse(ITy); in SimplifyICmpInst() 1918 return getTrue(ITy); in SimplifyICmpInst() 1923 return getTrue(ITy); in SimplifyICmpInst() 1925 return getFalse(ITy); in SimplifyICmpInst() 1930 return getTrue(ITy); in SimplifyICmpInst() 1932 return getFalse(ITy); in SimplifyICmpInst() [all …]
|
D | MemoryDependenceAnalysis.cpp | 421 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local 422 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
D | ScalarEvolution.cpp | 331 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local 332 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1301 Type *ITy = I->getType(); in ResolvedUndefsIn() local 1316 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1330 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1339 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1347 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1355 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1371 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1379 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1389 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
D | SROA.cpp | 1128 if (IntegerType *ITy = dyn_cast<IntegerType>(UserTy)) { in getCommonType() local 1132 if (ITy->getBitWidth() > (I->EndOffset - I->BeginOffset)*8) in getCommonType() 1138 return ITy; in getCommonType() 2113 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViable() local 2114 if (ITy->getBitWidth() < TD.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViable() 2129 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViable() local 2130 if (ITy->getBitWidth() < TD.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViable()
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 98 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 99 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
D | Core.cpp | 2054 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 2056 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 2058 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 2065 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 2067 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 2069 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
D | Constants.cpp | 167 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 169 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 477 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 479 DenseMapAPIntKeyInfo::KeyTy Key(V, ITy); in get() 481 if (!Slot) Slot = new ConstantInt(ITy, V); in get()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 30 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 31 if (ITy->getBitWidth() < 32) in getPromotedType() 173 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local 177 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 185 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
|
D | InstCombineCasts.cpp | 594 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 595 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 615 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 619 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 622 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
D | InstCombineAndOrXor.cpp | 1404 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local 1405 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap() 1407 ITy->getBitWidth() > 32*8) in MatchBSwap() 1413 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap() 1429 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrArithmetic.td | 664 /// ITy - This instruction base class takes the type info for the instruction. 672 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 690 : ITy<opcode, f, typeinfo, outlist, 733 : ITy<opcode, MRMSrcReg, typeinfo, 745 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 757 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 794 : ITy<opcode, f, typeinfo, outlist, 832 : ITy<opcode, f, typeinfo, outlist, 871 : ITy<opcode, MRMDestMem, typeinfo, 900 : ITy<opcode, f, typeinfo, [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 1183 IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(), in FastEmit_ri_() local 1185 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in FastEmit_ri_()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 330 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 331 size = ITy->getBitWidth(); in printReturnValStr()
|
D | NVPTXISelLowering.cpp | 268 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local 269 size = ITy->getBitWidth(); in getPrototype()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 1019 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local 1021 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr() 1023 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 780 Type *ITy = Val->getType()->getScalarType(); in getConsecutiveVector() local 788 Indices.push_back(ConstantInt::get(ITy, StartIdx + Idx)); in getConsecutiveVector()
|