| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 143 Optional<Instruction::CastOps> CastOp; in simplifyNvvmIntrinsic() member 156 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in simplifyNvvmIntrinsic() 345 if (Action.CastOp) in simplifyNvvmIntrinsic() 346 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(), in simplifyNvvmIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 209 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards() local 210 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1))); in walkBackwards() 284 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkForwards() local 285 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 578 CastInst *CastOp; in foldBinOpIntoSelect() local 582 SelectInst *Sel = findSelectThroughCast(BO.getOperand(0), CastOp); in foldBinOpIntoSelect() 585 Sel = findSelectThroughCast(BO.getOperand(1), CastOp); in foldBinOpIntoSelect() 597 if (CastOp) { in foldBinOpIntoSelect() 598 if (!CastOp->hasOneUse()) in foldBinOpIntoSelect() 600 CT = ConstantFoldCastOperand(CastOp->getOpcode(), CT, BO.getType(), *DL); in foldBinOpIntoSelect() 601 CF = ConstantFoldCastOperand(CastOp->getOpcode(), CF, BO.getType(), *DL); in foldBinOpIntoSelect() 628 if (CastOp) in foldBinOpIntoSelect() 629 CastOp->eraseFromParent(); in foldBinOpIntoSelect()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 713 Instruction::CastOps *CastOp = nullptr, 730 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 314 ConstantRange castOp(Instruction::CastOps CastOp,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 6072 Instruction::CastOps *CastOp) { in lookThroughCast() argument 6077 *CastOp = Cast1->getOpcode(); in lookThroughCast() 6081 if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy()) in lookThroughCast() 6091 switch (*CastOp) { in lookThroughCast() 6157 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast() 6180 CastOp, Depth); in matchSelectPattern() 6185 Instruction::CastOps *CastOp, unsigned Depth) { in matchDecomposedSelectPattern() argument 6198 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern() 6199 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern() 6202 if (*CastOp == Instruction::FPToSI || *CastOp == Instruction::FPToUI) in matchDecomposedSelectPattern() [all …]
|
| H A D | ScalarEvolution.cpp | 6435 Optional<unsigned> CastOp; in getRangeViaFactoring() local 6454 CastOp = SCast->getSCEVType(); in getRangeViaFactoring() 6473 if (CastOp.hasValue()) in getRangeViaFactoring() 6474 switch (*CastOp) { in getRangeViaFactoring() 8744 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand())) in BuildConstantFromSCEV() local 8745 return ConstantExpr::getSExt(CastOp, SS->getType()); in BuildConstantFromSCEV() 8750 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand())) in BuildConstantFromSCEV() local 8751 return ConstantExpr::getZExt(CastOp, SZ->getType()); in BuildConstantFromSCEV() 8757 return ConstantExpr::getPtrToInt(CastOp, P2I->getType()); in BuildConstantFromSCEV() 8763 if (Constant *CastOp = BuildConstantFromSCEV(ST->getOperand())) in BuildConstantFromSCEV() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1027 Instruction::CastOps CastOp = Instruction::ZExt; in expandAtomicRMWToMaskedIntrinsic() local 1030 CastOp = Instruction::SExt; in expandAtomicRMWToMaskedIntrinsic() 1033 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 647 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() argument 649 switch (CastOp) { in castOp()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2171 SDValue CastOp = Bitcast.getOperand(0); in performVECTOR_SHUFFLECombine() local 2172 MVT SrcType = CastOp.getSimpleValueType(); in performVECTOR_SHUFFLECombine() 2178 SrcType, SDLoc(N), CastOp, DAG.getUNDEF(SrcType), Shuffle->getMask()); in performVECTOR_SHUFFLECombine()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2965 Instruction::CastOps CastOp; in visitSelectInst() local 2966 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() 3011 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4110 auto CastOp = (Instruction::CastOps)Opc; in parseFunctionBody() local 4111 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody() 4113 I = CastInst::Create(CastOp, Op, ResTy); in parseFunctionBody()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 3560 Instruction::CastOps CastOp = in createInductionResumeValues() local 3562 Value *CRD = B.CreateCast(CastOp, VectorTripCount, StepType, "cast.crd"); in createInductionResumeValues() 3570 CastOp = CastInst::getCastOpcode(AdditionalBypass.second, true, in createInductionResumeValues() 3573 B.CreateCast(CastOp, AdditionalBypass.second, StepType, "cast.crd"); in createInductionResumeValues()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 8687 Instruction::CastOps CastOp = CI->getOpcode(); in calculateCastInst() local 8688 switch (CastOp) { in calculateCastInst()
|