/external/llvm/lib/Transforms/Scalar/ |
AlignmentFromAssumptions.cpp | 216 Value *CmpRHS = ICI->getOperand(1); 218 const SCEV *CmpRHSSCEV = SE->getSCEV(CmpRHS); 220 std::swap(CmpLHS, CmpRHS);
|
GVN.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 348 Value *CmpRHS = ICI->getOperand(1); 356 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 391 else if (CmpRHS->getType()->getScalarSizeInBits() 429 CmpRHS = AdjustedRHS; 433 ICI->setOperand(1, CmpRHS); 454 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) { 482 if (SimplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, TD) == TrueVal || 483 SimplifyWithOpReplaced(FalseVal, CmpRHS, CmpLHS, TD) == TrueVal) 485 if (SimplifyWithOpReplaced(TrueVal, CmpLHS, CmpRHS, TD) == FalseVal || 486 SimplifyWithOpReplaced(TrueVal, CmpRHS, CmpLHS, TD) == FalseVal [all...] |
InstCombineCompares.cpp | 743 /// FoldICmpDivCst - Fold "icmp pred, ([su]div X, DivRHS), CmpRHS" where DivRHS 744 /// and CmpRHS are both known to be integer constants. 747 ConstantInt *CmpRHS = cast<ConstantInt>(ICI.getOperand(1)); 748 const APInt &CmpRHSV = CmpRHS->getValue(); 775 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
AlignmentFromAssumptions.cpp | 216 Value *CmpRHS = ICI->getOperand(1); 218 const SCEV *CmpRHSSCEV = SE->getSCEV(CmpRHS); 220 std::swap(CmpLHS, CmpRHS);
|
GVN.cpp | [all...] |
JumpThreading.cpp | 752 Value *CmpRHS = Cmp->getOperand(1); 757 PN = dyn_cast<PHINode>(CmpRHS); 771 RHS = CmpRHS->DoPHITranslation(BB, PredBB); 804 if (isa<Constant>(CmpRHS) && !CmpType->isVectorTy()) { 805 Constant *CmpConst = cast<Constant>(CmpRHS); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 317 Value *CmpRHS = IC->getOperand(1); 319 if (!match(CmpRHS, m_Zero())) 374 Value *CmpRHS = ICI->getOperand(1); 377 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) 420 Value *CmpRHS = ICI->getOperand(1); 428 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 455 else if (CmpRHS->getType()->getScalarSizeInBits() 493 CmpRHS = AdjustedRHS; 497 ICI->setOperand(1, CmpRHS); 518 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) { [all...] |
InstCombineCompares.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 206 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, 211 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), 218 // CmpLHS/CmpRHS/CmpMHS - The LHS/MHS/RHS of the comparison to emit. 221 const Value *CmpLHS, *CmpMHS, *CmpRHS;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 219 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, 224 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), 231 // CmpLHS/CmpRHS/CmpMHS - The LHS/MHS/RHS of the comparison to emit. 234 const Value *CmpLHS, *CmpMHS, *CmpRHS; [all...] |
TargetLowering.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 232 // CmpLHS/CmpRHS/CmpMHS - The LHS/MHS/RHS of the comparison to emit. 235 const Value *CmpLHS, *CmpMHS, *CmpRHS; 250 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs, 256 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), [all...] |
TargetLowering.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 507 Value *CmpRHS = IC->getOperand(1); 514 if (!match(CmpRHS, m_Zero())) 529 if ((IsEqualZero && !match(CmpRHS, m_AllOnes())) || 530 (!IsEqualZero && !match(CmpRHS, m_Zero()))) 656 Value *CmpRHS = ICI->getOperand(1); 659 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) 700 Value *CmpRHS = Cmp.getOperand(1); 706 if (!Cmp.hasOneUse() || !match(CmpRHS, m_APInt(CmpC))) 718 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC + 1); 720 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC - 1) [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | [all...] |
X86ISelLowering.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
ValueTracking.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
X86FastISel.cpp | [all...] |