| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 199 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 D | ValueTracking.h | 581 Instruction::CastOps *CastOp = nullptr, 585 Instruction::CastOps *CastOp = nullptr) {
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 230 ConstantRange castOp(Instruction::CastOps CastOp,
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 339 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 D | ValueTracking.cpp | 4989 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 D | ScalarEvolution.cpp | 5852 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 D | ConstantRange.cpp | 573 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() argument 575 switch (CastOp) { in castOp()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 931 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 D | InstCombineSelect.cpp | 1817 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 D | InstCombineCalls.cpp | 1591 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 D | BitcodeReader.cpp | 3648 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 D | LoopVectorize.cpp | 2839 Instruction::CastOps CastOp = in createVectorizedLoopSkeleton() local 2841 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()
|