/minix/external/bsd/llvm/dist/llvm/lib/Target/ |
H A 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()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 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() 327 template <typename ITy> bool match(ITy *V) { in match() [all …]
|
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 343 auto ITy = CGM.Int32Ty; in CreateRuntimeFunction() local 344 auto PtrTy = llvm::PointerType::getUnqual(ITy); in CreateRuntimeFunction() 353 ITy, // incr in CreateRuntimeFunction() 362 auto ITy = CGM.Int32Ty; in CreateRuntimeFunction() local 363 auto PtrTy = llvm::PointerType::getUnqual(ITy); in CreateRuntimeFunction() 372 ITy, // incr in CreateRuntimeFunction() 381 auto ITy = CGM.Int64Ty; in CreateRuntimeFunction() local 382 auto PtrTy = llvm::PointerType::getUnqual(ITy); in CreateRuntimeFunction() 391 ITy, // incr in CreateRuntimeFunction() 400 auto ITy = CGM.Int64Ty; in CreateRuntimeFunction() local [all …]
|
H A D | CGAtomic.cpp | 776 llvm::Type *ITy = in EmitAtomicExpr() local 780 Ptr, ITy->getPointerTo(Ptr->getType()->getPointerAddressSpace())); in EmitAtomicExpr() 781 if (Val1) Val1 = Builder.CreateBitCast(Val1, ITy->getPointerTo()); in EmitAtomicExpr() 782 if (Val2) Val2 = Builder.CreateBitCast(Val2, ITy->getPointerTo()); in EmitAtomicExpr() 784 Dest = Builder.CreateBitCast(Dest, ITy->getPointerTo()); in EmitAtomicExpr()
|
H A D | CGBuiltin.cpp | 1079 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local 1081 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr() 1083 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2175 return getTrue(ITy); in SimplifyICmpInst() 2575 return getTrue(ITy); in SimplifyICmpInst() 2581 return getTrue(ITy); in SimplifyICmpInst() 2592 return getTrue(ITy); in SimplifyICmpInst() 2598 return getTrue(ITy); in SimplifyICmpInst() 2652 return getTrue(ITy); in SimplifyICmpInst() 2672 return getTrue(ITy); in SimplifyICmpInst() 2693 return getTrue(ITy); in SimplifyICmpInst() 2830 return getTrue(ITy); in SimplifyICmpInst() 2900 return getTrue(ITy); in SimplifyICmpInst() [all …]
|
H A D | MemoryDependenceAnalysis.cpp | 493 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local 494 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
H A D | ScalarEvolution.cpp | 333 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local 334 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 1305 Type *ITy = I->getType(); in ResolvedUndefsIn() local 1320 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1334 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1343 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1351 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1359 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1375 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1383 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1393 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
H A D | SROA.cpp | 1290 IntegerType *ITy = nullptr; in INITIALIZE_PASS_DEPENDENCY() local 1319 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in INITIALIZE_PASS_DEPENDENCY() 1320 ITy = UserITy; in INITIALIZE_PASS_DEPENDENCY() 1331 return TyIsCommon ? Ty : ITy; in INITIALIZE_PASS_DEPENDENCY() 2135 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 2136 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice() 2153 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 2154 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 98 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 99 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
H A D | Function.cpp | 761 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 762 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 763 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType()
|
H A D | Verifier.cpp | 2409 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 2410 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in VerifyIntrinsicType() 2424 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in VerifyIntrinsicType() local 2425 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in VerifyIntrinsicType()
|
H A D | Core.cpp | 2436 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 2438 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 2440 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 2447 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 2449 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 2451 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
H A 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()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCCTRLoops.cpp | 191 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local 192 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstrArithmetic.td | 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, 888 : ITy<0x82, f, typeinfo, [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A 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()
|
H A D | InstCombineCasts.cpp | 598 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 599 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 619 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 623 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 626 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
H A D | InstCombineAndOrXor.cpp | 125 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in SimplifyBSwap() local 171 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in SimplifyBSwap() 1654 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local 1655 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap() 1657 ITy->getBitWidth() > 32*8) in MatchBSwap() 1663 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap() 1679 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 364 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 365 size = ITy->getBitWidth(); in printReturnValStr()
|
H A D | NVPTXISelLowering.cpp | 893 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local 894 size = ITy->getBitWidth(); in getPrototype()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 1600 Type *ITy = Val->getType()->getScalarType(); in getConsecutiveVector() local 1608 Indices.push_back(ConstantInt::get(ITy, StartIdx + Idx, Negate)); in getConsecutiveVector() 6316 Type *ITy = Val->getType(); in getConsecutiveVector() local 6317 assert(!ITy->isVectorTy() && "Val must be a scalar"); in getConsecutiveVector() 6318 Constant *C = ConstantInt::get(ITy, StartIdx, Negate); in getConsecutiveVector()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 1668 IntegerType *ITy = in fastEmit_ri_() local 1670 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in fastEmit_ri_()
|