/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 184 if (IntegerType *ITy = in getKindForGlobal() local 186 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 187 ITy->getBitWidth() == 32) && in getKindForGlobal() 189 if (ITy->getBitWidth() == 8) in getKindForGlobal() 191 if (ITy->getBitWidth() == 16) in getKindForGlobal() 194 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 | 1508 Type *ITy = Op0->getType(); in SimplifyAndOfICmps() local 1520 return getFalse(ITy); in SimplifyAndOfICmps() 1522 return getFalse(ITy); in SimplifyAndOfICmps() 1526 return getFalse(ITy); in SimplifyAndOfICmps() 1528 return getFalse(ITy); in SimplifyAndOfICmps() 1534 return getFalse(ITy); in SimplifyAndOfICmps() 1537 return getFalse(ITy); in SimplifyAndOfICmps() 1667 Type *ITy = Op0->getType(); in SimplifyOrOfICmps() local 1679 return getTrue(ITy); in SimplifyOrOfICmps() 1681 return getTrue(ITy); in SimplifyOrOfICmps() [all …]
|
D | MemoryDependenceAnalysis.cpp | 504 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in getPointerDependencyFrom() local 505 if (LI->getAlignment() * 8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1306 Type *ITy = I->getType(); in ResolvedUndefsIn() local 1321 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1335 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1344 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1352 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1360 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1376 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1384 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1394 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
D | SROA.cpp | 1292 IntegerType *ITy = nullptr; in INITIALIZE_PASS_DEPENDENCY() local 1321 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in INITIALIZE_PASS_DEPENDENCY() 1322 ITy = UserITy; in INITIALIZE_PASS_DEPENDENCY() 1333 return TyIsCommon ? Ty : ITy; in INITIALIZE_PASS_DEPENDENCY() 2141 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 2142 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice() 2159 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 2160 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 725 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createForStaticInitFunction() local 726 auto PtrTy = llvm::PointerType::getUnqual(ITy); in createForStaticInitFunction() 735 ITy, // incr in createForStaticInitFunction() 736 ITy // chunk in createForStaticInitFunction() 751 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchInitFunction() local 755 ITy, // lower in createDispatchInitFunction() 756 ITy, // upper in createDispatchInitFunction() 757 ITy, // stride in createDispatchInitFunction() 758 ITy // chunk in createDispatchInitFunction() 773 auto ITy = IVSize == 32 ? CGM.Int32Ty : CGM.Int64Ty; in createDispatchNextFunction() local [all …]
|
D | CGAtomic.cpp | 928 llvm::Type *ITy = in EmitAtomicExpr() local 932 Ptr, ITy->getPointerTo(Ptr->getType()->getPointerAddressSpace())); in EmitAtomicExpr() 933 if (Val1) Val1 = Builder.CreateBitCast(Val1, ITy->getPointerTo()); in EmitAtomicExpr() 934 if (Val2) Val2 = Builder.CreateBitCast(Val2, ITy->getPointerTo()); in EmitAtomicExpr() 936 Dest = Builder.CreateBitCast(Dest, ITy->getPointerTo()); in EmitAtomicExpr()
|
D | CGBuiltin.cpp | 1122 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local 1124 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr() 1126 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()
|
/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 | Function.cpp | 783 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 784 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 785 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType()
|
D | Core.cpp | 2435 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 2437 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 2439 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 2446 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 2448 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 2450 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
D | Verifier.cpp | 2977 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 2978 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in VerifyIntrinsicType() 2992 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 2993 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in VerifyIntrinsicType()
|
D | Constants.cpp | 231 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 233 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 564 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 565 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/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 360 auto *ITy = cast<IntegerType>(NewTy); in combineLoadToNewType() local 362 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in combineLoadToNewType() 364 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
|
D | InstCombineCalls.cpp | 34 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 35 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 | InstCombineCasts.cpp | 592 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 593 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 613 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 617 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 620 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
D | InstCombineAndOrXor.cpp | 107 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in SimplifyBSwap() local 153 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in SimplifyBSwap() 1636 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local 1637 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap() 1639 ITy->getBitWidth() > 32*8) in MatchBSwap() 1645 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap() 1661 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 191 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local 192 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1577 Type *ITy = Val->getType()->getScalarType(); in getStepVector() local 1584 Indices.push_back(ConstantInt::get(ITy, StartIdx + i)); in getStepVector() 5370 Type *ITy = Val->getType(); in getStepVector() local 5371 assert(!ITy->isVectorTy() && "Val must be a scalar"); in getStepVector() 5372 Constant *C = ConstantInt::get(ITy, StartIdx); in getStepVector()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 357 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 358 size = ITy->getBitWidth(); in printReturnValStr()
|
D | NVPTXISelLowering.cpp | 896 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local 897 size = ITy->getBitWidth(); in getPrototype()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 1679 IntegerType *ITy = in fastEmit_ri_() local 1681 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in fastEmit_ri_()
|