HomeSort by relevance Sort by last modified time
    Searched refs:isEliminableCastPair (Results 1 - 5 of 5) sorted by null

  /external/llvm/unittests/IR/
InstructionsTest.cpp 408 TEST(InstructionsTest, isEliminableCastPair) {
417 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt,
425 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt,
433 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt,
440 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
447 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
466 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
473 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast,
480 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 231 /// This function is a wrapper around CastInst::isEliminableCastPair. It
234 isEliminableCastPair(const CastInst *CI, ///< First cast instruction
250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,
275 if (isEliminableCastPair(CI, opc, Ty, DL))
295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) {
    [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h     [all...]
  /external/llvm/lib/IR/
ConstantFold.cpp 73 /// expressions together. It uses CastInst::isEliminableCastPair to determine
97 // Let CastInst::isEliminableCastPair do the heavy lifting.
98 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
    [all...]
Instructions.cpp     [all...]

Completed in 1217 milliseconds