Home
last modified time | relevance | path

Searched refs:CastOp (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp199 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards() local
200 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1))); in walkBackwards()
264 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkForwards() local
265 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DValueTracking.h581 Instruction::CastOps *CastOp = nullptr,
585 Instruction::CastOps *CastOp = nullptr) {
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstantRange.h230 ConstantRange castOp(Instruction::CastOps CastOp,
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp339 Value *CastOp = cast<CastInst>(V)->getOperand(0); in GetLinearExpression() local
341 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits(); in GetLinearExpression()
344 GetLinearExpression(CastOp, Scale, Offset, ZExtBits, SExtBits, DL, in GetLinearExpression()
364 Result = CastOp; in GetLinearExpression()
377 Result = CastOp; in GetLinearExpression()
H A DValueTracking.cpp4989 Instruction::CastOps *CastOp) { in lookThroughCast() argument
4994 *CastOp = Cast1->getOpcode(); in lookThroughCast()
4998 if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy()) in lookThroughCast()
5008 switch (*CastOp) { in lookThroughCast()
5074 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
5082 Instruction::CastOps *CastOp, in matchSelectPattern() argument
5107 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchSelectPattern()
5108 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchSelectPattern()
5111 if (*CastOp == Instruction::FPToSI || *CastOp == Instruction::FPToUI) in matchSelectPattern()
5117 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchSelectPattern()
[all …]
H A DScalarEvolution.cpp5852 Optional<unsigned> CastOp; in getRangeViaFactoring() local
5871 CastOp = SCast->getSCEVType(); in getRangeViaFactoring()
5890 if (CastOp.hasValue()) in getRangeViaFactoring()
5891 switch (*CastOp) { in getRangeViaFactoring()
7999 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand())) in BuildConstantFromSCEV() local
8000 return ConstantExpr::getSExt(CastOp, SS->getType()); in BuildConstantFromSCEV()
8005 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand())) in BuildConstantFromSCEV() local
8006 return ConstantExpr::getZExt(CastOp, SZ->getType()); in BuildConstantFromSCEV()
8011 if (Constant *CastOp = BuildConstantFromSCEV(ST->getOperand())) in BuildConstantFromSCEV() local
8012 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp573 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() argument
575 switch (CastOp) { in castOp()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp931 Instruction::CastOps CastOp = Instruction::ZExt; in expandAtomicRMWToMaskedIntrinsic() local
934 CastOp = Instruction::SExt; in expandAtomicRMWToMaskedIntrinsic()
937 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1817 Instruction::CastOps CastOp; in visitSelectInst() local
1818 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst()
1862 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
H A DInstCombineCalls.cpp1591 Optional<Instruction::CastOps> CastOp; in SimplifyNVVMIntrinsic() member
1604 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in SimplifyNVVMIntrinsic()
1791 if (Action.CastOp) in SimplifyNVVMIntrinsic()
1792 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(), in SimplifyNVVMIntrinsic()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3648 auto CastOp = (Instruction::CastOps)Opc; in parseFunctionBody() local
3649 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
3651 I = CastInst::Create(CastOp, Op, ResTy); in parseFunctionBody()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2839 Instruction::CastOps CastOp = in createVectorizedLoopSkeleton() local
2841 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()