Searched refs:CastOp (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp143 Optional<Instruction::CastOps> CastOp; member in struct:SimplifyAction
156 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} argument
345 if (Action.CastOp)
346 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(),
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp208 auto CastOp = (Instruction::CastOps)I->getOpcode(); local
209 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1)));
283 auto CastOp = (Instruction::CastOps)I->getOpcode();
284 return Ops[0].castOp(CastOp, MaxIntegerBW+1);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp576 CastInst *CastOp; local
580 SelectInst *Sel = findSelectThroughCast(BO.getOperand(0), CastOp);
583 Sel = findSelectThroughCast(BO.getOperand(1), CastOp);
595 if (CastOp) {
596 if (!CastOp->hasOneUse())
598 CT = ConstantFoldCastOperand(CastOp->getOpcode(), CT, BO.getType(), *DL);
599 CF = ConstantFoldCastOperand(CastOp->getOpcode(), CF, BO.getType(), *DL);
626 if (CastOp)
627 CastOp->eraseFromParent();
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstantRange.h314 ConstantRange castOp(Instruction::CastOps CastOp,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueTracking.h700 /// If CastOp is not nullptr, also match MIN/MAX idioms where the type does
703 /// type of LHS and RHS into the type of V is returned in CastOp.
710 /// -> LHS = %a, RHS = i32 4, *CastOp = Instruction::SExt
713 Instruction::CastOps *CastOp = nullptr,
730 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueTracking.cpp6014 Instruction::CastOps *CastOp) {
6019 *CastOp = Cast1->getOpcode();
6023 if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy())
6033 switch (*CastOp) {
6099 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true);
6107 Instruction::CastOps *CastOp,
6122 CastOp, Depth);
6127 Instruction::CastOps *CastOp, unsigned Depth) {
6140 if (CastOp && CmpLHS->getType() != TrueVal->getType()) {
6141 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) {
[all...]
H A DScalarEvolution.cpp6225 Optional<unsigned> CastOp;
6244 CastOp = SCast->getSCEVType();
6263 if (CastOp.hasValue())
6264 switch (*CastOp) {
8487 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand()))
8488 return ConstantExpr::getSExt(CastOp, SS->getType());
8493 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand()))
8494 return ConstantExpr::getZExt(CastOp, SZ->getType());
8499 if (Constant *CastOp = BuildConstantFromSCEV(P2I->getOperand()))
8500 return ConstantExpr::getPtrToInt(CastOp, P2
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp988 Instruction::CastOps CastOp = Instruction::ZExt; local
991 CastOp = Instruction::SExt;
994 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType),
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantRange.cpp647 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, argument
649 switch (CastOp) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2068 SDValue CastOp = Bitcast.getOperand(0);
2069 MVT SrcType = CastOp.getSimpleValueType();
2075 SrcType, SDLoc(N), CastOp, DAG.getUNDEF(SrcType), Shuffle->getMask());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2922 Instruction::CastOps CastOp; local
2923 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp);
2968 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4138 auto CastOp = (Instruction::CastOps)Opc; local
4139 if (!CastInst::castIsValid(CastOp, Op, ResTy))
4141 I = CastInst::Create(CastOp, Op, ResTy);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3518 Instruction::CastOps CastOp =
3520 Value *CRD = B.CreateCast(CastOp, VectorTripCount, StepType, "cast.crd");
3528 CastOp = CastInst::getCastOpcode(AdditionalBypass.second, true,
3531 B.CreateCast(CastOp, AdditionalBypass.second, StepType, "cast.crd");
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp7621 Instruction::CastOps CastOp = CI->getOpcode(); local
7622 switch (CastOp) {

Completed in 372 milliseconds