Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1520 Value *LHSCIOp = LHSCI->getOperand(0); in visitICmpInstWithCastAndCast() local
1521 Type *SrcTy = LHSCIOp->getType(); in visitICmpInstWithCastAndCast()
1536 if (LHSCIOp->getType() != RHSOp->getType()) in visitICmpInstWithCastAndCast()
1537 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType()); in visitICmpInstWithCastAndCast()
1541 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSOp); in visitICmpInstWithCastAndCast()
1556 if (RHSCIOp->getType() != LHSCIOp->getType()) in visitICmpInstWithCastAndCast()
1566 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
1571 return new ICmpInst(ICI.getPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
1574 return new ICmpInst(ICI.getUnsignedPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
1592 return new ICmpInst(ICI.getPredicate(), LHSCIOp, Res1); in visitICmpInstWithCastAndCast()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2377 Value *LHSCIOp = LHSCI->getOperand(0); in visitICmpInstWithCastAndCast() local
2378 Type *SrcTy = LHSCIOp->getType(); in visitICmpInstWithCastAndCast()
2390 LHSCIOp->getType()->getPointerAddressSpace()) { in visitICmpInstWithCastAndCast()
2393 if (LHSCIOp->getType() != RHSOp->getType()) in visitICmpInstWithCastAndCast()
2394 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType()); in visitICmpInstWithCastAndCast()
2401 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSOp); in visitICmpInstWithCastAndCast()
2416 if (RHSCIOp->getType() != LHSCIOp->getType()) in visitICmpInstWithCastAndCast()
2426 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
2431 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
2434 return new ICmpInst(ICmp.getUnsignedPredicate(), LHSCIOp, RHSCIOp); in visitICmpInstWithCastAndCast()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3621 Value *LHSCIOp = LHSCI->getOperand(0); in foldICmpWithCastAndCast() local
3622 Type *SrcTy = LHSCIOp->getType(); in foldICmpWithCastAndCast()
3641 LHSCIOp->getType()->getPointerAddressSpace()) { in foldICmpWithCastAndCast()
3644 if (LHSCIOp->getType() != RHSOp->getType()) in foldICmpWithCastAndCast()
3645 RHSOp = Builder.CreateBitCast(RHSOp, LHSCIOp->getType()); in foldICmpWithCastAndCast()
3652 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSOp); in foldICmpWithCastAndCast()
3667 if (RHSCIOp->getType() != LHSCIOp->getType()) in foldICmpWithCastAndCast()
3677 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSCIOp); in foldICmpWithCastAndCast()
3682 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSCIOp); in foldICmpWithCastAndCast()
3685 return new ICmpInst(ICmp.getUnsignedPredicate(), LHSCIOp, RHSCIOp); in foldICmpWithCastAndCast()
[all …]