Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 1135) sorted by relevance

12345678910>>...46

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h39 assert((LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()) && in splatScalarOperandIfNeeded()
41 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded()
42 assert(!isa<ScalableVectorType>(LHS->getType()) && in splatScalarOperandIfNeeded()
45 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in splatScalarOperandIfNeeded()
47 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded()
48 assert(!isa<ScalableVectorType>(RHS->getType()) && in splatScalarOperandIfNeeded()
51 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in splatScalarOperandIfNeeded()
70 PointerType *PtrTy = cast<PointerType>(DataPtr->getType());
100 Type *OverloadedTypes[] = {Matrix->getType()};
116 auto *OpType = cast<VectorType>(Matrix->getType());
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DIntrinsicLowering.cpp39 ParamTys.push_back((*I)->getType()); in ReplaceCallWith()
54 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!"); in LowerBSWAP()
56 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP()
63 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
65 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
71 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP()
73 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
75 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
77 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP()
80 ConstantInt::get(V->getType(), 0xFF0000), in LowerBSWAP()
[all …]
DMachineStableHash.cpp63 switch (MO.getType()) { in stableHashValue()
71 return stable_hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), in stableHashValue()
74 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in stableHashValue()
81 return hash_combine(MO.getType(), MO.getTargetFlags(), ValHash); in stableHashValue()
101 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
110 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
114 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in stableHashValue()
119 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getRegMask()); in stableHashValue()
128 return hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
134 return hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
Dubsan_value.cpp71 CHECK(getType().isSignedIntegerTy()); in getSIntValue()
76 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); in getSIntValue()
79 if (getType().getIntegerBitWidth() == 64) in getSIntValue()
82 if (getType().getIntegerBitWidth() == 128) in getSIntValue()
85 if (getType().getIntegerBitWidth() == 128) in getSIntValue()
92 CHECK(getType().isUnsignedIntegerTy()); in getUIntValue()
95 if (getType().getIntegerBitWidth() == 64) in getUIntValue()
98 if (getType().getIntegerBitWidth() == 128) in getUIntValue()
101 if (getType().getIntegerBitWidth() == 128) in getUIntValue()
108 if (getType().isUnsignedIntegerTy()) in getPositiveIntValue()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DConstants.cpp46 if (getType()->isVectorTy()) in isNegativeZeroValue()
51 if (getType()->isFPOrFPVectorTy()) in isNegativeZeroValue()
66 if (getType()->isVectorTy()) in isZeroValue()
101 if (getType()->isVectorTy()) in isAllOnesValue()
118 if (getType()->isVectorTy()) in isOneValue()
135 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNotOneValue()
145 if (getType()->isVectorTy()) in isNotOneValue()
163 if (getType()->isVectorTy()) in isMinSignedValue()
180 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNotMinSignedValue()
190 if (getType()->isVectorTy()) in isNotMinSignedValue()
[all …]
DConstantFold.cpp59 if (NumElts != cast<FixedVectorType>(CV->getType())->getNumElements()) in BitCastConstantVector()
96 Type *SrcTy = Op->getOperand(0)->getType(); in foldConstantCastPair()
97 Type *MidTy = Op->getType(); in foldConstantCastPair()
112 Type *SrcTy = V->getType(); in FoldBitCast()
118 if (PointerType *PTy = dyn_cast<PointerType>(V->getType())) in FoldBitCast()
142 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { in FoldBitCast()
192 if (FP->getType()->isPPC_FP128Ty()) in FoldBitCast()
217 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes()
218 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && in ExtractConstantBytes()
220 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; in ExtractConstantBytes()
[all …]
DIRBuilder.cpp51 *M, StrConstant->getType(), true, GlobalValue::PrivateLinkage, in CreateGlobalString()
64 auto *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue()
89 Intrinsic::getDeclaration(M, Intrinsic::vscale, {Scaling->getType()}); in CreateVScale()
119 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet()
147 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet()
177 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemTransferInst()
214 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateMemCpyInline()
256 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy()
294 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove()
331 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemMove()
[all …]
DInstructions.cpp76 if (Op1->getType() != Op2->getType()) in areInvalidOperands()
79 if (Op1->getType()->isTokenTy()) in areInvalidOperands()
82 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) { in areInvalidOperands()
86 VectorType *ET = dyn_cast<VectorType>(Op1->getType()); in areInvalidOperands()
92 } else if (Op0->getType() != Type::getInt1Ty(Op0->getContext())) { in areInvalidOperands()
103 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
131 replaceAllUsesWith(UndefValue::get(getType())); in removeIncomingValue()
163 return UndefValue::get(getType()); in hasConstantValue()
202 : Instruction(LP.getType(), Instruction::LandingPad, nullptr, in LandingPadInst()
323 getType()->getPointerAddressSpace())) in isReturnNonNull()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp37 return ConstantInt::get(Val->getType(), 0); in decomposeSimpleLinearExpr()
87 PointerType *PTy = cast<PointerType>(CI.getType()); in PromoteCastOfAllocation()
149 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation()
155 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation()
171 Value *NewCast = Builder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation()
215 if (I->getOperand(0)->getType() == Ty) in EvaluateInDifferentType()
280 Type *Ty = CI.getType(); in commonCastTransforms()
302 if (!Cmp || Cmp->getOperand(0)->getType() != Sel->getType() || in commonCastTransforms()
304 shouldChangeType(CI.getSrcTy(), CI.getType()))) { in commonCastTransforms()
316 if (!Src->getType()->isIntegerTy() || !CI.getType()->isIntegerTy() || in commonCastTransforms()
[all …]
DInstCombineVectorOps.cpp128 PHINode::Create(EI.getType(), PN->getNumIncomingValues(), ""), *PN)); in scalarizePHI()
179 !X->getType()->isVectorTy() || in foldBitcastExtElt()
186 auto *SrcTy = cast<VectorType>(X->getType()); in foldBitcastExtElt()
187 Type *DestTy = Ext.getType(); in foldBitcastExtElt()
274 unsigned VWidth = cast<FixedVectorType>(V->getType())->getNumElements(); in findDemandedEltsBySingleUser()
292 cast<FixedVectorType>(UserInstr->getType())->getNumElements(); in findDemandedEltsBySingleUser()
318 unsigned VWidth = cast<FixedVectorType>(V->getType())->getNumElements(); in findDemandedEltsByAllUsers()
356 Type *Ty = EI.getType(); in visitExtractElementInst()
454 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst()
468 return isa<VectorType>(V->getType()); in visitExtractElementInst()
[all …]
DInstCombinePHI.cpp106 if (!PN.getType()->isIntegerTy()) in foldIntegerTypedPHI()
137 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in foldIntegerTypedPHI()
153 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in foldIntegerTypedPHI()
200 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in foldIntegerTypedPHI()
216 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in foldIntegerTypedPHI()
220 IntToPtr->getOperand(0)->getType()); in foldIntegerTypedPHI()
225 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in foldIntegerTypedPHI()
234 if (V->getType() == IntToPtr->getType()) in foldIntegerTypedPHI()
249 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); in foldIntegerTypedPHI()
257 if (IncomingVal->getType() == IntToPtr->getType()) { in foldIntegerTypedPHI()
[all …]
DInstCombineCompares.cpp115 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in foldCmpLoadFromIndexedGlobal()
135 Type *EltTy = Init->getType()->getArrayElementType(); in foldCmpLoadFromIndexedGlobal()
276 Type *IntPtrTy = DL.getIntPtrType(GEP->getType()); in foldCmpLoadFromIndexedGlobal()
278 if (Idx->getType()->getPrimitiveSizeInBits().getFixedSize() > PtrSize) in foldCmpLoadFromIndexedGlobal()
290 DL.getTypeAllocSize(Init->getType()->getArrayElementType()); in foldCmpLoadFromIndexedGlobal()
293 Value *Mask = ConstantInt::get(Idx->getType(), -1); in foldCmpLoadFromIndexedGlobal()
308 Value *FirstTrueIdx = ConstantInt::get(Idx->getType(), FirstTrueElement); in foldCmpLoadFromIndexedGlobal()
316 Value *SecondTrueIdx = ConstantInt::get(Idx->getType(), SecondTrueElement); in foldCmpLoadFromIndexedGlobal()
329 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement); in foldCmpLoadFromIndexedGlobal()
337 Value *SecondFalseIdx = ConstantInt::get(Idx->getType(),SecondFalseElement); in foldCmpLoadFromIndexedGlobal()
[all …]
DInstCombineLoadStoreAlloca.cpp175 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize()
199 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
207 if (AI.getType()->getPointerAddressSpace() != in simplifyAllocaArraySize()
208 NewI->getType()->getPointerAddressSpace()) { in simplifyAllocaArraySize()
210 CastInst::CreatePointerBitCastOrAddrSpaceCast(NewI, AI.getType()); in simplifyAllocaArraySize()
221 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); in simplifyAllocaArraySize()
225 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
226 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize()
297 auto *NewI = new LoadInst(LT->getType(), V, "", LT->isVolatile(), in replace()
312 V->getType()->getPointerElementType(), V, Indices); in replace()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h97 return V->getType() == Only; in onlyType()
107 return !V->getType()->isVoidTy(); in anyType()
115 return V->getType()->isIntegerTy(); in anyIntType()
123 return V->getType()->isFloatingPointTy(); in anyFloatType()
131 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType()
148 if (const auto *PtrT = dyn_cast<PointerType>(V->getType())) in sizedPtrType()
167 if (isa<ArrayType>(V->getType())) in anyAggregateType()
168 return V->getType()->getArrayNumElements() > 0; in anyAggregateType()
171 if (isa<StructType>(V->getType())) in anyAggregateType()
172 return V->getType()->getStructNumElements() > 0; in anyAggregateType()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp195 unsigned OffsetElemSize = cast<FixedVectorType>(Offsets->getType()) in checkOffsetSize()
212 if (isa<FixedVectorType>(ConstOff->getType())) { in checkOffsetSize()
241 FixedVectorType *PtrTy = cast<FixedVectorType>(Ptr->getType()); in decomposePtr()
265 if (GEPPtr->getType()->isVectorTy() || in decomposeGEP()
266 !isa<FixedVectorType>(Offsets->getType())) in decomposeGEP()
276 cast<FixedVectorType>(Offsets->getType())->getNumElements(); in decomposeGEP()
283 FixedVectorType *OffsetType = cast<FixedVectorType>(Offsets->getType()); in decomposeGEP()
295 if (Ty != Offsets->getType()) { in decomposeGEP()
311 auto *BCTy = cast<FixedVectorType>(BitCast->getType()); in lookThroughBitcast()
312 auto *BCSrcTy = cast<FixedVectorType>(BitCast->getOperand(0)->getType()); in lookThroughBitcast()
[all …]
DARMRegisterBankInfo.cpp239 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
274 LLT LargeTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping()
284 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
297 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
304 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
318 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
319 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping()
327 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
328 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping()
337 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp132 E->getType().isVolatileQualified()); in VisitConstantExpr()
199 return EmitFinalDestCopy(E->getType(), LV); in VisitPseudoObjectExpr()
202 CGF.EmitPseudoObjectRValue(E, EnsureSlot(E->getType())); in VisitPseudoObjectExpr()
213 EmitFinalDestCopy(E->getType(), Res); in VisitAtomicExpr()
229 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) { in EmitAggLoadOfLValue()
234 EmitFinalDestCopy(E->getType(), LV); in EmitAggLoadOfLValue()
256 QualType RetTy = E->getType(); in withReturnValueSlot()
303 EmitFinalDestCopy(E->getType(), Src); in withReturnValueSlot()
396 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
400 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); in VisitCXXStdInitializerListExpr()
[all …]
DCGExpr.cpp55 cast<llvm::PointerType>(value->getType())->getAddressSpace(); in EmitCastToVoidPtr()
61 if (value->getType() == destType) return value; in EmitCastToVoidPtr()
159 auto *ArrayTy = cast<llvm::ArrayType>(Result.getType()->getElementType()); in CreateMemTemp()
185 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) { in EvaluateExprAsBool()
193 if (!E->getType()->isAnyComplexType()) in EvaluateExprAsBool()
194 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); in EvaluateExprAsBool()
196 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(), BoolTy, in EvaluateExprAsBool()
217 switch (getEvaluationKind(E->getType())) { in EmitAnyExpr()
224 aggSlot = CreateAggTemp(E->getType(), "agg-temp"); in EmitAnyExpr()
236 if (hasAggregateEvaluationKind(E->getType())) in EmitAnyExprToTemp()
[all …]
DCGExprScalar.cpp141 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp()
142 QualType RHSType = BinOp->getRHS()->getType(); in isFixedPointOp()
146 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
155 return E->getType()->isNullPtrType(); in MustVisitNullValue()
165 QualType BaseTy = Base->getType(); in getUnwidenedIntegerType()
167 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType())) in getUnwidenedIntegerType()
214 unsigned PromotedSize = Ctx.getTypeSize(Op.E->getType()); in CanElideOverflowCheck()
260 if (VD->getType()->isReferenceType()) { in EmitLValueAlignmentAssumption()
262 dyn_cast<TypedefType>(VD->getType().getNonReferenceType())) in EmitLValueAlignmentAssumption()
279 dyn_cast<TypedefType>(E->getType())) in EmitLValueAlignmentAssumption()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp68 if (U->getType() != Ty) in ReuseOrCreateCast()
163 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && in InsertNoopCastOfTo()
184 if (V->getType() == Ty) in InsertNoopCastOfTo()
187 if (CI->getOperand(0)->getType() == Ty) in InsertNoopCastOfTo()
193 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { in InsertNoopCastOfTo()
197 SE.getTypeSizeInBits(CI->getType()) == in InsertNoopCastOfTo()
198 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) in InsertNoopCastOfTo()
203 SE.getTypeSizeInBits(CE->getType()) == in InsertNoopCastOfTo()
204 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) in InsertNoopCastOfTo()
301 S = SE.getConstant(S->getType(), 1); in FactorOutConstant()
[all …]
DVNCoercion.cpp19 Type *StoredTy = StoredVal->getType(); in canCoerceMustAliasedValueToLoad()
76 Type *StoredValTy = StoredVal->getType(); in coerceAvailableValueToLoadTypeHelper()
134 StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt)); in coerceAvailableValueToLoadTypeHelper()
231 if (isFirstClassAggregateOrScalableType(StoredVal->getType())) in analyzeLoadFromClobberingStore()
239 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedSize(); in analyzeLoadFromClobberingStore()
256 if (!isa<IntegerType>(LI->getType()) || !LI->isSimple()) in getLoadLoadClobberFullWidthSize()
301 unsigned NewLoadByteSize = LI->getType()->getPrimitiveSizeInBits() / 8U; in getLoadLoadClobberFullWidthSize()
335 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad()
342 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedSize(); in analyzeLoadFromClobberingLoad()
362 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp262 I2P->getOperand(0)->getType(), I2P->getType(), in isNoopPtrIntCastPair()
265 P2I->getOperand(0)->getType(), P2I->getType(), in isNoopPtrIntCastPair()
268 P2I->getOperand(0)->getType()->getPointerAddressSpace(), in isNoopPtrIntCastPair()
269 I2P->getType()->getPointerAddressSpace()); in isNoopPtrIntCastPair()
283 assert(Op->getType()->isPointerTy()); in isAddressExpression()
290 return Op->getType()->isPointerTy(); in isAddressExpression()
345 Type *DestTy = II->getType(); in rewriteIntrinsicOperands()
346 Type *SrcTy = NewV->getType(); in rewriteIntrinsicOperands()
395 assert(V->getType()->isPointerTy()); in appendsFlatAddressExpressionToPostorderStack()
407 if (V->getType()->getPointerAddressSpace() == FlatAddrSpace && in appendsFlatAddressExpressionToPostorderStack()
[all …]
DIndVarSimplify.cpp387 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in handleFloatingPointIV()
398 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in handleFloatingPointIV()
518 Type *Ty = Cast->getType(); in visitIVCast()
527 uint64_t NarrowIVWidth = SE->getTypeSizeInBits(WI.NarrowIV->getType()); in visitIVCast()
540 Cast->getOperand(0)->getType())) { in visitIVCast()
865 if (!SE->isSCEVable(Phi->getType())) in isLoopCounter()
892 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType()); in FindLoopCounter()
909 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter()
917 uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType()); in FindLoopCounter()
941 if (!Phi->getType()->isIntegerTy() && in FindLoopCounter()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp63 Type *VTy = V.getType(); in canSafelyConvertTo16Bit()
80 Type *CastSrcTy = CastSrc->getType(); in canSafelyConvertTo16Bit()
90 Type *VTy = V.getType(); in convertTo16Bit()
127 FloatCoord == Coord->getType()->isFloatingPointTy()); in simplifyAMDGCNImageIntrinsic()
128 FloatCoord = Coord->getType()->isFloatingPointTy(); in simplifyAMDGCNImageIntrinsic()
200 Type *Ty = II.getType(); in instCombineIntrinsic()
227 Type *Ty = II.getType(); in instCombineIntrinsic()
251 return IC.replaceInstUsesWith(II, ConstantInt::get(II.getType(), Exp)); in instCombineIntrinsic()
255 return IC.replaceInstUsesWith(II, UndefValue::get(II.getType())); in instCombineIntrinsic()
283 return IC.replaceInstUsesWith(II, UndefValue::get(II.getType())); in instCombineIntrinsic()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DScalarEvolutionDivision.cpp138 Type *Ty = Denominator->getType(); in visitAddRecExpr()
139 if (Ty != StartQ->getType() || Ty != StartR->getType() || in visitAddRecExpr()
140 Ty != StepQ->getType() || Ty != StepR->getType()) in visitAddRecExpr()
150 Type *Ty = Denominator->getType(); in visitAddExpr()
157 if (Ty != Q->getType() || Ty != R->getType()) in visitAddExpr()
176 Type *Ty = Denominator->getType(); in visitMulExpr()
181 if (Ty != Op->getType()) in visitMulExpr()
198 if (Ty != Q->getType()) in visitMulExpr()
244 Zero = SE.getZero(Denominator->getType()); in SCEVDivision()
245 One = SE.getOne(Denominator->getType()); in SCEVDivision()

12345678910>>...46