/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 182 if (IntegerType *ITy = in getKindForGlobal() local 184 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 185 ITy->getBitWidth() == 32) && in getKindForGlobal() 187 if (ITy->getBitWidth() == 8) in getKindForGlobal() 189 if (ITy->getBitWidth() == 16) in getKindForGlobal() 192 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/external/valgrind/memcheck/tests/ |
D | sh-mem.c | 134 #define DO(NNN, Ty, ITy, isF4) \ in main() argument 136 NNN, #Ty, #ITy); \ in main() 154 ITy undefN_ITy = (ITy)tmp; \ in main() 159 ITy undefN_ITyDef = undefN_ITy; \ in main()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 60 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 92 template <typename ITy> bool match(ITy *V) { in match() 107 template <typename ITy> bool match(ITy *V) { in match() 128 template <typename ITy> bool match(ITy *V) { in match() 140 template <typename ITy> bool match(ITy *V) { in match() 163 template <typename ITy> bool match(ITy *V) { in match() 183 template <typename ITy> bool match(ITy *V) { in match() 205 template <typename ITy> bool match(ITy *V) { in match() 221 template <typename ITy> bool match(ITy *V) { in match() 286 template <typename ITy> bool match(ITy *V) { in match() [all …]
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1522 Type *ITy = Op0->getType(); in SimplifyAndOfICmps() local 1534 return getFalse(ITy); in SimplifyAndOfICmps() 1536 return getFalse(ITy); in SimplifyAndOfICmps() 1540 return getFalse(ITy); in SimplifyAndOfICmps() 1542 return getFalse(ITy); in SimplifyAndOfICmps() 1548 return getFalse(ITy); in SimplifyAndOfICmps() 1551 return getFalse(ITy); in SimplifyAndOfICmps() 1681 Type *ITy = Op0->getType(); in SimplifyOrOfICmps() local 1693 return getTrue(ITy); in SimplifyOrOfICmps() 1695 return getTrue(ITy); in SimplifyOrOfICmps() [all …]
|
D | MemoryDependenceAnalysis.cpp | 583 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in getSimplePointerDependencyFrom() local 584 if (LI->getAlignment() * 8 > ITy->getPrimitiveSizeInBits() && in getSimplePointerDependencyFrom()
|
D | ScalarEvolution.cpp | 324 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local 325 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1314 Type *ITy = I.getType(); in ResolvedUndefsIn() local 1329 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1343 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1352 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1360 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1368 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1384 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1392 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1402 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
D | SROA.cpp | 1078 IntegerType *ITy = nullptr; in findCommonType() local 1107 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType() 1108 ITy = UserITy; in findCommonType() 1119 return TyIsCommon ? Ty : ITy; in findCommonType() 1934 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 1935 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice() 1955 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 1956 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 107 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 108 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
D | Function.cpp | 800 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 801 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 802 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType()
|
D | Core.cpp | 2463 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 2465 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 2467 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 2474 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 2476 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 2478 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
D | Verifier.cpp | 3357 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 3358 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in VerifyIntrinsicType() 3372 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 3373 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in VerifyIntrinsicType()
|
D | Constants.cpp | 251 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 253 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 574 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 575 Slot = new ConstantInt(ITy, V); in get()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrArithmetic.td | 631 /// ITy - This instruction base class takes the type info for the instruction. 639 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 657 : ITy<opcode, f, typeinfo, outlist, 692 : ITy<opcode, MRMSrcReg, typeinfo, 709 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 723 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 761 : ITy<opcode, f, typeinfo, outlist, 793 : ITy<opcode, f, typeinfo, outlist, 825 : ITy<opcode, MRMDestMem, typeinfo, 855 : ITy<opcode, f, typeinfo, [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 193 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local 194 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 966 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createForStaticInitFunction() local 967 auto PtrTy = llvm::PointerType::getUnqual(ITy); in createForStaticInitFunction() 976 ITy, // incr in createForStaticInitFunction() 977 ITy // chunk in createForStaticInitFunction() 992 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchInitFunction() local 996 ITy, // lower in createDispatchInitFunction() 997 ITy, // upper in createDispatchInitFunction() 998 ITy, // stride in createDispatchInitFunction() 999 ITy // chunk in createDispatchInitFunction() 1031 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchNextFunction() local [all …]
|
D | CGBuiltin.cpp | 1255 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local 1257 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr() 1259 Builder.CreateAlignedStore(llvm::Constant::getNullValue(ITy), Ptr, in EmitBuiltinExpr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 362 auto *ITy = cast<IntegerType>(NewTy); in combineLoadToNewType() local 364 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in combineLoadToNewType() 366 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
|
D | InstCombineCasts.cpp | 667 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 668 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 688 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 692 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 695 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
D | InstCombineCalls.cpp | 35 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 36 if (ITy->getBitWidth() < 32) in getPromotedType() 176 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local 180 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 188 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
|
D | InstCombineAndOrXor.cpp | 108 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in SimplifyBSwap() local 153 Function *F = Intrinsic::getDeclaration(I.getModule(), Intrinsic::bswap, ITy); in SimplifyBSwap() 1710 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwapOrBitReverse() local 1711 if (!ITy) in MatchBSwapOrBitReverse() 1713 unsigned BW = ITy->getBitWidth(); in MatchBSwapOrBitReverse() 1750 Function *F = Intrinsic::getDeclaration(I.getModule(), Intrin, ITy); in MatchBSwapOrBitReverse()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1967 Type *ITy = Val->getType()->getScalarType(); in getStepVector() local 1974 Indices.push_back(ConstantInt::get(ITy, StartIdx + i)); in getStepVector() 5819 Type *ITy = Val->getType(); in getStepVector() local 5820 assert(!ITy->isVectorTy() && "Val must be a scalar"); in getStepVector() 5821 Constant *C = ConstantInt::get(ITy, StartIdx); in getStepVector()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 358 if (auto *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 359 size = ITy->getBitWidth(); in printReturnValStr()
|
D | NVPTXISelLowering.cpp | 918 if (auto *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local 919 size = ITy->getBitWidth(); in getPrototype()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 1746 IntegerType *ITy = in fastEmit_ri_() local 1748 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in fastEmit_ri_()
|