Home
last modified time | relevance | path

Searched refs:ITy (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp267 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp165 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 DValueTypes.cpp153 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local
154 return TypeSize::getFixed(ITy->getBitWidth()); in getExtendedSizeInBits()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h157 template <typename ITy> bool match(ITy *V) { in match()
193 template <typename ITy> bool match(ITy *V) { in match()
208 template <typename ITy> bool match(ITy *V) { in match()
235 template <typename ITy> bool match(ITy *V) { in match()
260 template <typename ITy> bool match(ITy *V) { in match()
311 template <typename ITy> bool match(ITy *V) { in match()
335 template <typename ITy> bool match(ITy *V) { in match()
385 template <typename ITy> bool match(ITy *V) { in match()
411 template <typename ITy> bool match(ITy *V) { in match()
537 template <typename ITy> bool match(ITy *V) { in match()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2905 return getTrue(ITy); in simplifyICmpOfBools()
2930 return getTrue(ITy); in simplifyICmpOfBools()
2942 return getTrue(ITy); in simplifyICmpOfBools()
2953 return getTrue(ITy); in simplifyICmpOfBools()
2957 return getTrue(ITy); in simplifyICmpOfBools()
2980 return getFalse(ITy); in simplifyICmpWithZero()
2982 return getTrue(ITy); in simplifyICmpWithZero()
3099 return Pred == ICmpInst::ICMP_SLT ? getTrue(ITy) : getFalse(ITy); in simplifyICmpWithBinOpOnLHS()
3101 return Pred == ICmpInst::ICMP_SLT ? getFalse(ITy) : getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
3221 return (Pred == ICmpInst::ICMP_EQ) ? getFalse(ITy) : getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp81 IntegerType *ITy = cast<IntegerType>(Ty); in getOverloadKind() local
82 unsigned Bits = ITy->getBitWidth(); in getOverloadKind()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1371 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local
1372 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType()
1373 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType()
1560 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local
1561 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in matchIntrinsicType()
1575 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local
1576 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in matchIntrinsicType()
H A DAutoUpgrade.cpp3381 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local
3382 Rep = Builder.CreateAnd(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall()
3383 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall()
3390 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local
3391 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()
3393 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall()
3400 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local
3401 Rep = Builder.CreateOr(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall()
3402 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall()
3409 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local
[all …]
H A DCore.cpp3584 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local
3586 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc()
3587 return wrap(unwrap(B)->CreateMalloc(ITy, unwrap(Ty), AllocSize, nullptr, in LLVMBuildMalloc()
3593 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local
3595 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc()
3596 return wrap(unwrap(B)->CreateMalloc(ITy, unwrap(Ty), AllocSize, unwrap(Val), in LLVMBuildArrayMalloc()
H A DConstants.cpp404 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local
406 APInt::getAllOnes(ITy->getBitWidth())); in getAllOnesValue()
881 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local
882 Slot.reset(new ConstantInt(ITy, V)); in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrUtils.td963 class ITy<bits<8> o, Format f, X86TypeInfo t, dag outs, dag ins, string m,
974 : ITy<o, MRMDestReg, t, out, (ins t.RegClass:$src1, t.RegClass:$src2), m,
1023 : ITy<o, MRMSrcMem, t, out, (ins t.RegClass:$src1, t.MemOperand:$src2), m,
1058 : ITy<o, f, t, out, (ins t.RegClass:$src1, t.ImmOperand:$src2), m,
1095 : ITy<o, f, t, out, (ins t.RegClass:$src1, t.Imm8Operand:$src2), m,
1181 : ITy<o, f, t, out, (ins t.MemOperand:$src1, t.ImmOperand:$src2), m,
1234 : ITy<0x83, f, t, out, (ins t.MemOperand:$src1, t.Imm8Operand:$src2), m,
1288 : ITy<o, RawFrm, t, (outs), (ins t.ImmOperand:$src), m, args, []>,
1312 : ITy<0xD3, f, t, (outs t.RegClass:$dst), (ins t.RegClass:$src1), m,
1319 : ITy<0xD3, f, t, (outs), (ins t.MemOperand:$src1), m, binop_cl_args,
[all …]
H A DX86InstrShiftRotate.td347 : ITy<o, MRMDestReg, t, (outs t.RegClass:$dst),
368 : ITy<o, MRMDestMem, t, (outs), (ins t.MemOperand:$src1, t.RegClass:$src2, u8imm:$src3),
390 …: ITy<o, MRMDestMem, t, (outs t.RegClass:$dst), (ins t.MemOperand:$src1, t.RegClass:$src2, u8imm:$…
542 : ITy<0xF0, MRMSrcReg, t, (outs t.RegClass:$dst), (ins t.RegClass:$src1, u8imm:$src2),
547 : ITy<0xF0, MRMSrcMem, t, (outs t.RegClass:$dst), (ins t.MemOperand:$src1, u8imm:$src2),
568 : ITy<0xF7, MRMSrcReg4VOp3, t, (outs t.RegClass:$dst), (ins t.RegClass:$src1, t.RegClass:$src2),
572 : ITy<0xF7, MRMSrcMem4VOp3, t, (outs t.RegClass:$dst), (ins t.MemOperand:$src1, t.RegClass:$src2),
H A DX86InstrArithmetic.td1322 def rr#suffix : ITy<0xF2, MRMSrcReg, t, (outs t.RegClass:$dst),
1326 def rm#suffix : ITy<0xF2, MRMSrcMem, t, (outs t.RegClass:$dst),
1370 def rr : ITy<0xF6, MRMSrcReg, t, (outs t.RegClass:$dst1, t.RegClass:$dst2),
1374 def rm : ITy<0xF6, MRMSrcMem, t, (outs t.RegClass:$dst1, t.RegClass:$dst2),
1379 def rr_EVEX : ITy<0xF6, MRMSrcReg, t,
1384 def rm_EVEX : ITy<0xF6, MRMSrcMem, t,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h173 void setTypes(const MachineInstr *MI, InstType ITy);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1092 Type *ITy = I->getType(); in SimplifyMultipleUseDemandedBits() local
1112 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1133 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1156 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1210 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1237 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
H A DInstCombineVectorOps.cpp1808 Type *ITy = I->getType(); in canEvaluateShuffled() local
1809 if (ITy->isVectorTy() && in canEvaluateShuffled()
1810 Mask.size() > cast<FixedVectorType>(ITy)->getNumElements()) in canEvaluateShuffled()
H A DInstCombineCalls.cpp95 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local
96 if (ITy->getBitWidth() < 32) in getPromotedType()
276 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyAnyMemSet() local
282 Constant *FillVal = ConstantInt::get(ITy, Fill); in SimplifyAnyMemSet()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3495 auto *ITy = cast<IntegerType>(NewTy); in copyNonnullMetadata() local
3497 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in copyNonnullMetadata()
3498 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in copyNonnullMetadata()
3911 Type *ITy = I->getType(); in recognizeBSwapOrBitReverseIdiom() local
3912 if (!ITy->isIntOrIntVectorTy() || ITy->getScalarSizeInBits() > 128) in recognizeBSwapOrBitReverseIdiom()
3928 Type *DemandedTy = ITy; in recognizeBSwapOrBitReverseIdiom()
3935 if (auto *IVecTy = dyn_cast<VectorType>(ITy)) in recognizeBSwapOrBitReverseIdiom()
3941 if (DemandedBW > ITy->getScalarSizeInBits()) in recognizeBSwapOrBitReverseIdiom()
3990 if (ITy != Result->getType()) { in recognizeBSwapOrBitReverseIdiom()
3991 auto *ExtInst = CastInst::CreateIntegerCast(Result, ITy, false, "zext", I); in recognizeBSwapOrBitReverseIdiom()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1514 IntegerType *ITy = nullptr; in findCommonType() local
1543 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType()
1544 ITy = UserITy; in findCommonType()
1555 return {TyIsCommon ? Ty : nullptr, ITy}; in findCommonType()
2426 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local
2427 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedValue()) in isIntegerWideningViableForSlice()
2451 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local
2452 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy).getFixedValue()) in isIntegerWideningViableForSlice()
H A DLoopIdiomRecognize.cpp2170 template <typename ITy> bool match(ITy *V) { in match()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h364 template <typename ITy> bool match(const MachineRegisterInfo &MRI, ITy &&V) {
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3725 llvm::IntegerType *ITy, in EmitCMSEClearRecord() argument
3727 assert(Src->getType() == ITy); in EmitCMSEClearRecord()
3728 assert(ITy->getScalarSizeInBits() <= 64); in EmitCMSEClearRecord()
3731 int Size = DataLayout.getTypeStoreSize(ITy); in EmitCMSEClearRecord()
3949 auto *ITy = dyn_cast<llvm::IntegerType>(RV->getType()); in EmitFunctionEpilog() local
3950 if (ITy != nullptr && isa<RecordType>(RetTy.getCanonicalType())) in EmitFunctionEpilog()
3951 RV = EmitCMSEClearRecord(RV, ITy, RetTy); in EmitFunctionEpilog()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp359 if (auto *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local
360 size = ITy->getBitWidth(); in printReturnValStr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h133 SCEVPtrToIntExpr(const FoldingSetNodeIDRef ID, const SCEV *Op, Type *ITy);
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1460 const auto ITy = ILE->getType().getCanonicalType(); in tryExtractInitializerFromList() local
1469 if (ITy == TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()
1478 if (ITy != TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()

12