Searched refs:CLHS (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 85 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local 86 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare() 88 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 522 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyAddInst() local 524 Constant *Ops[] = { CLHS, CRHS }; in SimplifyAddInst() 525 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops, in SimplifyAddInst() 659 if (Constant *CLHS = dyn_cast<Constant>(Op0)) in SimplifySubInst() local 661 Constant *Ops[] = { CLHS, CRHS }; in SimplifySubInst() 662 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(), in SimplifySubInst() 781 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyFAddInst() local [all …]
|
D | ValueTracking.cpp | 53 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(Op0)) { in computeKnownBitsAddSub() local 57 if (!CLHS->getValue().isNegative()) { in computeKnownBitsAddSub() 59 unsigned NLZ = (CLHS->getValue()+1).countLeadingZeros(); in computeKnownBitsAddSub() 68 unsigned NLZ2 = CLHS->getValue().countLeadingZeros(); in computeKnownBitsAddSub() 1229 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0))) in ComputeNumSignBits() local 1230 if (CLHS->isNullValue()) { in ComputeNumSignBits()
|
D | ScalarEvolutionExpander.cpp | 155 if (Constant *CLHS = dyn_cast<Constant>(LHS)) in InsertBinop() local 157 return ConstantExpr::get(Opcode, CLHS, CRHS); in InsertBinop() 527 if (Constant *CLHS = dyn_cast<Constant>(V)) in expandAddToGEP() local 529 return ConstantExpr::getGetElementPtr(CLHS, CRHS); in expandAddToGEP()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 505 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in visitCmpInst() local 507 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 526 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst() local 528 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 576 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub() local 578 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2234 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0))) { in computeKnownBits() local 2238 if (CLHS->getAPIntValue().isNonNegative()) { in computeKnownBits() 2239 unsigned NLZ = (CLHS->getAPIntValue()+1).countLeadingZeros(); in computeKnownBits() 2248 unsigned NLZ2 = CLHS->getAPIntValue().countLeadingZeros(); in computeKnownBits() 2504 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0))) in ComputeNumSignBits() local 2505 if (CLHS->isNullValue()) { in ComputeNumSignBits()
|