| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ |
| D | TargetLoweringObjectFile.cpp | 262 if (IntegerType *ITy = in getKindForGlobal() local 264 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 265 ITy->getBitWidth() == 32) && in getKindForGlobal() 267 if (ITy->getBitWidth() == 8) in getKindForGlobal() 269 if (ITy->getBitWidth() == 16) in getKindForGlobal() 272 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | IndirectBrExpandPass.cpp | 161 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() local 162 ConstantInt *BBIndexC = ConstantInt::get(ITy, BBIndex); in runOnFunction() 199 auto *ITy = in runOnFunction() local 201 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runOnFunction() 202 CommonITy = ITy; in runOnFunction()
|
| D | ValueTypes.cpp | 143 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 144 return TypeSize::Fixed(ITy->getBitWidth()); in getExtendedSizeInBits()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | PatternMatch.h | 72 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 130 template <typename ITy> bool match(ITy *V) { return check(V); } in match() 170 template <typename ITy> bool match(ITy *V) { return !M.match(V); } in match() 185 template <typename ITy> bool match(ITy *V) { in match() 200 template <typename ITy> bool match(ITy *V) { in match() 227 template <typename ITy> bool match(ITy *V) { in match() 252 template <typename ITy> bool match(ITy *V) { in match() 303 template <typename ITy> bool match(ITy *V) { in match() 327 template <typename ITy> bool match(ITy *V) { in match() 377 template <typename ITy> bool match(ITy *V) { in match() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | InstructionSimplify.cpp | 1709 Type *ITy = Op0->getType(); in simplifyAndOfICmpsWithAdd() local 1717 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1719 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1723 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1725 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1731 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1734 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1845 Type *ITy = Op0->getType(); in simplifyOrOfICmpsWithAdd() local 1853 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1855 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | Function.cpp | 1239 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 1240 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 1241 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType() 1462 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1463 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in matchIntrinsicType() 1477 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1478 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in matchIntrinsicType()
|
| D | AutoUpgrade.cpp | 2865 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2866 Rep = Builder.CreateAnd(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall() 2867 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2874 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2875 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall() 2877 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2884 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2885 Rep = Builder.CreateOr(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall() 2886 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2893 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local [all …]
|
| D | Core.cpp | 3493 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 3495 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 3497 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 3504 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 3506 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 3508 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
| D | Constants.cpp | 407 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 409 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 894 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 895 Slot.reset(new ConstantInt(ITy, V)); in get()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSimplifyDemanded.cpp | 863 Type *ITy = I->getType(); in SimplifyMultipleUseDemandedBits() local 884 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 910 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 935 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 953 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 980 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
|
| D | InstCombineCalls.cpp | 104 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 105 if (ITy->getBitWidth() < 32) in getPromotedType() 263 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyAnyMemSet() local 267 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyAnyMemSet() 272 StoreInst *S = Builder.CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyAnyMemSet()
|
| D | InstCombineCasts.cpp | 1069 if (IntegerType *ITy = dyn_cast<IntegerType>(Zext.getType())) { in transformZExtICmp() local 1087 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 1091 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 1094 Result = Builder.CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
| D | InstCombineVectorOps.cpp | 1581 Type *ITy = I->getType(); in canEvaluateShuffled() local 1582 if (ITy->isVectorTy() && in canEvaluateShuffled() 1583 Mask.size() > cast<FixedVectorType>(ITy)->getNumElements()) in canEvaluateShuffled()
|
| D | InstCombineAddSub.cpp | 1569 auto IsValidPromotion = [](Type *FTy, Type *ITy) { in visitFAdd() argument 1571 Type *IScalarTy = ITy->getScalarType(); in visitFAdd()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | Local.cpp | 2766 auto *ITy = cast<IntegerType>(NewTy); in copyNonnullMetadata() local 2768 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in copyNonnullMetadata() 2769 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in copyNonnullMetadata() 3135 Type *ITy = I->getType(); in recognizeBSwapOrBitReverseIdiom() local 3136 if (!ITy->isIntOrIntVectorTy() || ITy->getScalarSizeInBits() > 128) in recognizeBSwapOrBitReverseIdiom() 3139 Type *DemandedTy = ITy; in recognizeBSwapOrBitReverseIdiom() 3163 if (auto *IVecTy = dyn_cast<VectorType>(ITy)) in recognizeBSwapOrBitReverseIdiom() 3169 if (DemandedBW > ITy->getScalarSizeInBits()) in recognizeBSwapOrBitReverseIdiom() 3218 if (ITy != Result->getType()) { in recognizeBSwapOrBitReverseIdiom() 3219 auto *ExtInst = CastInst::CreateIntegerCast(Result, ITy, false, "zext", I); in recognizeBSwapOrBitReverseIdiom()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | MipsRegisterBankInfo.h | 172 void setTypes(const MachineInstr *MI, InstType ITy);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86InstrArithmetic.td | 620 /// ITy - This instruction base class takes the type info for the instruction. 628 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 643 : ITy<opcode, MRMDestReg, typeinfo, outlist, 676 : ITy<opcode, MRMSrcReg, typeinfo, 693 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 706 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 715 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 749 : ITy<opcode, f, typeinfo, outlist, 780 : ITy<opcode, f, typeinfo, outlist, 812 : ITy<opcode, MRMDestMem, typeinfo, [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | SROA.cpp | 1137 IntegerType *ITy = nullptr; in findCommonType() local 1166 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType() 1167 ITy = UserITy; in findCommonType() 1178 return {TyIsCommon ? Ty : nullptr, ITy}; in findCommonType() 2042 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 2043 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedSize()) in isIntegerWideningViableForSlice() 2067 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 2068 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedSize()) in isIntegerWideningViableForSlice()
|
| D | LoopIdiomRecognize.cpp | 2110 template <typename ITy> bool match(ITy *V) { in match()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| D | MIPatternMatch.h | 221 template <typename ITy> bool match(const MachineRegisterInfo &MRI, ITy &&V) {
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| D | PPCTargetTransformInfo.cpp | 381 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in mightUseCTR() local 382 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in mightUseCTR()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGCall.cpp | 3370 llvm::IntegerType *ITy, in EmitCMSEClearRecord() argument 3372 assert(Src->getType() == ITy); in EmitCMSEClearRecord() 3373 assert(ITy->getScalarSizeInBits() <= 64); in EmitCMSEClearRecord() 3376 int Size = DataLayout.getTypeStoreSize(ITy); in EmitCMSEClearRecord() 3588 auto *ITy = dyn_cast<llvm::IntegerType>(RV->getType()); in EmitFunctionEpilog() local 3589 if (ITy != nullptr && isa<RecordType>(RetTy.getCanonicalType())) in EmitFunctionEpilog() 3590 RV = EmitCMSEClearRecord(RV, ITy, RetTy); in EmitFunctionEpilog()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| D | ScalarEvolutionExpressions.h | 111 SCEVPtrToIntExpr(const FoldingSetNodeIDRef ID, const SCEV *Op, Type *ITy);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| D | NVPTXAsmPrinter.cpp | 348 if (auto *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 349 size = ITy->getBitWidth(); in printReturnValStr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | FastISel.cpp | 1903 IntegerType *ITy = in fastEmit_ri_() local 1905 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in fastEmit_ri_()
|