/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 267 if (IntegerType *ITy = in getKindForGlobal() local 269 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 270 ITy->getBitWidth() == 32) && in getKindForGlobal() 272 if (ITy->getBitWidth() == 8) in getKindForGlobal() 274 if (ITy->getBitWidth() == 16) in getKindForGlobal() 277 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IndirectBrExpandPass.cpp | 165 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runImpl() local 166 ConstantInt *BBIndexC = ConstantInt::get(ITy, BBIndex); in runImpl() 203 auto *ITy = in runImpl() local 205 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runImpl() 206 CommonITy = ITy; in runImpl()
|
H A D | ValueTypes.cpp | 153 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 154 return TypeSize::getFixed(ITy->getBitWidth()); in getExtendedSizeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrCMovSetCC.td | 18 def rr#suffix : ITy<0x40, MRMSrcRegCC, t, (outs t.RegClass:$dst), 24 def rm#suffix : ITy<0x40, MRMSrcMemCC, t, (outs t.RegClass:$dst), 34 def rr : ITy<0x40, MRMDestRegCC, t, (outs t.RegClass:$dst), 39 def rr_REV : ITy<0x40, MRMSrcRegCC, t, (outs t.RegClass:$dst), 45 def rr_ND : ITy<0x40, MRMSrcRegCC, t, (outs t.RegClass:$dst), 51 def rm : ITy<0x40, MRMSrcMemCC, t, (outs t.RegClass:$dst), 55 def rm_ND : ITy<0x40, MRMSrcMemCC, t, (outs t.RegClass:$dst), 61 def mr : ITy<0x40, MRMDestMemCC, t, (outs),
|
H A D | X86InstrUtils.td | 958 /// ITy - This instruction base class takes the type info for the instruction. 965 class ITy<bits<8> o, Format f, X86TypeInfo t, dag outs, dag ins, string m, 977 : ITy<o, MRMDestReg, t, out, (ins t.RegClass:$src1, t.RegClass:$src2), m, 1026 : ITy<o, MRMSrcMem, t, out, (ins t.RegClass:$src1, t.MemOperand:$src2), m, 1061 : ITy<o, f, t, out, (ins t.RegClass:$src1, t.ImmOperand:$src2), m, 1077 : ITy<0xC1, f, t, (outs t.RegClass:$dst), (ins t.RegClass:$src1, u8imm:$src2), m, 1098 : ITy<o, f, t, out, (ins t.RegClass:$src1, t.Imm8Operand:$src2), m, 1120 : ITy<o, MRMDestMem, t, out, (ins t.MemOperand:$src1, t.RegClass:$src2), m, 1184 : ITy<o, f, t, out, (ins t.MemOperand:$src1, t.ImmOperand:$src2), m, 1237 : ITy<0x83, f, t, out, (ins t.MemOperand:$src1, t.Imm8Operand:$src2), m, [all …]
|
H A D | X86InstrMisc.td | 1094 def rm#suffix : ITy<o, MRMSrcMem, t, (outs t.RegClass:$dst), 1098 def mr#suffix : ITy<!add(o, 1), MRMDestMem, t, (outs), 1118 def rr : ITy<0x61, MRMDestReg, t, (outs t.RegClass:$dst), 1122 def rr_REV : ITy<0x60, MRMSrcReg, t, (outs t.RegClass:$dst), 1164 def rr#suffix : ITy<o, MRMSrcReg, t, (outs t.RegClass:$dst), 1170 def rm#suffix : ITy<o, MRMSrcMem, t, (outs t.RegClass:$dst), 1389 def rr#suffix : ITy<0xF5, MRMSrcReg, t, (outs t.RegClass:$dst), 1393 def rm#suffix : ITy<0xF5, MRMSrcMem, t, (outs t.RegClass:$dst),
|
H A D | X86InstrConditionalCompare.td | 14 : ITy<o, f, t, (outs), (ins op1:$src1, op2:$src2, cflags:$dcf, ccode:$cond),
|
H A D | X86InstrArithmetic.td | 1362 def rr#suffix : ITy<0xF2, MRMSrcReg, t, (outs t.RegClass:$dst), 1365 def rm#suffix : ITy<0xF2, MRMSrcMem, t, (outs t.RegClass:$dst), 1410 def rr : ITy<0xF6, MRMSrcReg, t, (outs t.RegClass:$dst1, t.RegClass:$dst2), 1414 def rm : ITy<0xF6, MRMSrcMem, t, (outs t.RegClass:$dst1, t.RegClass:$dst2), 1419 def rr_EVEX : ITy<0xF6, MRMSrcReg, t, 1424 def rm_EVEX : ITy<0xF6, MRMSrcMem, t,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 88 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 146 template <typename ITy> bool match(ITy *V) { return check(V); } in match() 178 template <typename ITy> bool match(ITy *V) { in match() 199 template <typename ITy> bool match(ITy *V) { return !M.match(V); } in match() 214 template <typename ITy> bool match(ITy *V) { in match() 229 template <typename ITy> bool match(ITy *V) { in match() 256 template <typename ITy> bool match(ITy *V) { in match() 281 template <typename ITy> bool match(ITy *V) { in match() 332 template <typename ITy> bool match(ITy *V) { in match() 358 template <typename ITy> bool match_impl(ITy *V) { in match_impl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 1719 Type *ITy = Op0->getType(); in simplifyAndOfICmpsWithAdd() local 1727 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1729 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1733 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1735 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1741 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1744 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1810 Type *ITy = Op0->getType(); in simplifyOrOfICmpsWithAdd() local 1818 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1820 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanPatternMatch.h | 33 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 44 template <typename ITy> bool match(ITy *V) { in match() 92 template <typename ITy> bool match(ITy *V) { in match()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILOpBuilder.cpp | 81 IntegerType *ITy = cast<IntegerType>(Ty); in getOverloadKind() local 82 unsigned Bits = ITy->getBitWidth(); in getOverloadKind()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 1440 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 1441 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 1442 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType() 1653 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1654 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in matchIntrinsicType() 1668 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1669 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in matchIntrinsicType()
|
H A D | Constants.cpp | 418 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 420 APInt::getAllOnes(ITy->getBitWidth())); in getAllOnesValue() 898 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 899 Slot.reset(new ConstantInt(ITy, V)); in get() 912 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 913 VectorType *VTy = VectorType::get(ITy, EC); in get() 918 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 919 VectorType *VTy = VectorType::get(ITy, EC); in get()
|
H A D | AutoUpgrade.cpp | 3205 VectorType *ITy = VectorType::getInteger(FTy); in upgradeX86IntrinsicCall() local 3206 Rep = Builder.CreateAnd(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in upgradeX86IntrinsicCall() 3207 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in upgradeX86IntrinsicCall() 3214 VectorType *ITy = VectorType::getInteger(FTy); in upgradeX86IntrinsicCall() local 3215 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in upgradeX86IntrinsicCall() 3217 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in upgradeX86IntrinsicCall() 3224 VectorType *ITy = VectorType::getInteger(FTy); in upgradeX86IntrinsicCall() local 3225 Rep = Builder.CreateOr(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in upgradeX86IntrinsicCall() 3226 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in upgradeX86IntrinsicCall() 3233 VectorType *ITy = VectorType::getInteger(FTy); in upgradeX86IntrinsicCall() local [all …]
|
H A D | Core.cpp | 3800 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 3802 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 3803 return wrap(unwrap(B)->CreateMalloc(ITy, unwrap(Ty), AllocSize, nullptr, in LLVMBuildMalloc() 3809 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 3811 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 3812 return wrap(unwrap(B)->CreateMalloc(ITy, unwrap(Ty), AllocSize, unwrap(Val), in LLVMBuildArrayMalloc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsRegisterBankInfo.h | 173 void setTypes(const MachineInstr *MI, InstType ITy);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 123 bool shouldReplace(Type *ITy) { in shouldReplace() argument 124 FixedVectorType *VTy = dyn_cast<FixedVectorType>(ITy); in shouldReplace()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 3569 auto *ITy = cast<IntegerType>(NewTy); in copyNonnullMetadata() local 3571 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in copyNonnullMetadata() 3572 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in copyNonnullMetadata() 4011 Type *ITy = I->getType(); in recognizeBSwapOrBitReverseIdiom() local 4012 if (!ITy->isIntOrIntVectorTy() || ITy->getScalarSizeInBits() > 128) in recognizeBSwapOrBitReverseIdiom() 4028 Type *DemandedTy = ITy; in recognizeBSwapOrBitReverseIdiom() 4035 if (auto *IVecTy = dyn_cast<VectorType>(ITy)) in recognizeBSwapOrBitReverseIdiom() 4041 if (DemandedBW > ITy->getScalarSizeInBits()) in recognizeBSwapOrBitReverseIdiom() 4090 if (ITy != Result->getType()) { in recognizeBSwapOrBitReverseIdiom() 4091 auto *ExtInst = CastInst::CreateIntegerCast(Result, ITy, false, "zext", I->getIterator()); in recognizeBSwapOrBitReverseIdiom()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1144 Type *ITy = I->getType(); in SimplifyMultipleUseDemandedBits() local 1164 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 1185 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 1208 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 1266 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits() 1293 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1467 IntegerType *ITy = nullptr; in findCommonType() local 1496 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType() 1497 ITy = UserITy; in findCommonType() 1508 return {TyIsCommon ? Ty : nullptr, ITy}; in findCommonType() 2377 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 2378 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedValue()) in isIntegerWideningViableForSlice() 2402 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 2403 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedValue()) in isIntegerWideningViableForSlice()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MIPatternMatch.h | 364 template <typename ITy> bool match(const MachineRegisterInfo &MRI, ITy &&V) {
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 3733 llvm::IntegerType *ITy, in EmitCMSEClearRecord() argument 3735 assert(Src->getType() == ITy); in EmitCMSEClearRecord() 3736 assert(ITy->getScalarSizeInBits() <= 64); in EmitCMSEClearRecord() 3739 int Size = DataLayout.getTypeStoreSize(ITy); in EmitCMSEClearRecord() 3958 auto *ITy = dyn_cast<llvm::IntegerType>(RV->getType()); in EmitFunctionEpilog() local 3959 if (ITy != nullptr && isa<RecordType>(RetTy.getCanonicalType())) in EmitFunctionEpilog() 3960 RV = EmitCMSEClearRecord(RV, ITy, RetTy); in EmitFunctionEpilog()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 363 if (auto *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 364 size = ITy->getBitWidth(); in printReturnValStr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 133 SCEVPtrToIntExpr(const FoldingSetNodeIDRef ID, const SCEV *Op, Type *ITy);
|