Searched refs:CastOpcode (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1233 auto CastOpcode = Cast0->getOpcode(); in foldCastedBitwiseLogic() local 1234 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic() 1244 ShouldOptimizeCast(CastOpcode, Cast0Src, DestTy) && in foldCastedBitwiseLogic() 1245 ShouldOptimizeCast(CastOpcode, Cast1Src, DestTy)) { in foldCastedBitwiseLogic() 1248 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic() 1263 return CastInst::Create(CastOpcode, Res, DestTy); in foldCastedBitwiseLogic() 1275 return CastInst::Create(CastOpcode, Res, DestTy); in foldCastedBitwiseLogic()
|