Searched refs:isEliminableCastPair (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 408 TEST(InstructionsTest, isEliminableCastPair) { in TEST() argument 417 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 425 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 433 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 440 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 447 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 466 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 473 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast, in TEST() 480 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 158 // NOTE: The order matters here because CastInst::isEliminableCastPair
|
D | InstrTypes.h | 834 static unsigned isEliminableCastPair(
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 234 isEliminableCastPair(const CastInst *CI, ///< First cast instruction in isEliminableCastPair() function 250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair() 275 if (isEliminableCastPair(CI, opc, Ty, DL)) in ShouldOptimizeCast() 295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) { in commonCastTransforms()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 98 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
|
D | Instructions.cpp | 2347 unsigned CastInst::isEliminableCastPair( in isEliminableCastPair() function in CastInst
|