Home
last modified time | relevance | path

Searched refs:LHSCI (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1519 const CastInst *LHSCI = cast<CastInst>(ICI.getOperand(0)); in visitICmpInstWithCastAndCast() local
1520 Value *LHSCIOp = LHSCI->getOperand(0); in visitICmpInstWithCastAndCast()
1522 Type *DestTy = LHSCI->getType(); in visitICmpInstWithCastAndCast()
1527 if (TD && LHSCI->getOpcode() == Instruction::PtrToInt && in visitICmpInstWithCastAndCast()
1546 if (LHSCI->getOpcode() != Instruction::ZExt && in visitICmpInstWithCastAndCast()
1547 LHSCI->getOpcode() != Instruction::SExt) in visitICmpInstWithCastAndCast()
1550 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt; in visitICmpInstWithCastAndCast()
1561 if (CI->getOpcode() != LHSCI->getOpcode()) in visitICmpInstWithCastAndCast()
1585 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), in visitICmpInstWithCastAndCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2376 const CastInst *LHSCI = cast<CastInst>(ICmp.getOperand(0)); in visitICmpInstWithCastAndCast() local
2377 Value *LHSCIOp = LHSCI->getOperand(0); in visitICmpInstWithCastAndCast()
2379 Type *DestTy = LHSCI->getType(); in visitICmpInstWithCastAndCast()
2384 if (LHSCI->getOpcode() == Instruction::PtrToInt && in visitICmpInstWithCastAndCast()
2406 if (LHSCI->getOpcode() != Instruction::ZExt && in visitICmpInstWithCastAndCast()
2407 LHSCI->getOpcode() != Instruction::SExt) in visitICmpInstWithCastAndCast()
2410 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt; in visitICmpInstWithCastAndCast()
2421 if (CI->getOpcode() != LHSCI->getOpcode()) in visitICmpInstWithCastAndCast()
2445 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), Res1, DestTy); in visitICmpInstWithCastAndCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3620 const CastInst *LHSCI = cast<CastInst>(ICmp.getOperand(0)); in foldICmpWithCastAndCast() local
3621 Value *LHSCIOp = LHSCI->getOperand(0); in foldICmpWithCastAndCast()
3623 Type *DestTy = LHSCI->getType(); in foldICmpWithCastAndCast()
3635 if (LHSCI->getOpcode() == Instruction::PtrToInt && in foldICmpWithCastAndCast()
3657 if (LHSCI->getOpcode() != Instruction::ZExt && in foldICmpWithCastAndCast()
3658 LHSCI->getOpcode() != Instruction::SExt) in foldICmpWithCastAndCast()
3661 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt; in foldICmpWithCastAndCast()
3672 if (CI->getOpcode() != LHSCI->getOpcode()) in foldICmpWithCastAndCast()
3696 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), Res1, DestTy); in foldICmpWithCastAndCast()