Searched refs:CLHS (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp85 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); local
86 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
88 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
522 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
524 Constant *Ops[] = { CLHS, CRHS };
525 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops,
659 if (Constant *CLHS = dyn_cast<Constant>(Op0))
661 Constant *Ops[] = { CLHS, CRHS };
662 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(),
781 if (Constant *CLHS
[all...]
H A DValueTracking.cpp53 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(Op0)) {
57 if (!CLHS->getValue().isNegative()) {
59 unsigned NLZ = (CLHS->getValue()+1).countLeadingZeros();
68 unsigned NLZ2 = CLHS->getValue().countLeadingZeros();
1229 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0)))
1230 if (CLHS->isNullValue()) {
H A DScalarEvolutionExpander.cpp155 if (Constant *CLHS = dyn_cast<Constant>(LHS))
157 return ConstantExpr::get(Opcode, CLHS, CRHS);
527 if (Constant *CLHS = dyn_cast<Constant>(V))
529 return ConstantExpr::getGetElementPtr(CLHS, CRHS);
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp505 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
507 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
526 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
528 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
576 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
578 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2234 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0))) {
2238 if (CLHS->getAPIntValue().isNonNegative()) {
2239 unsigned NLZ = (CLHS->getAPIntValue()+1).countLeadingZeros();
2248 unsigned NLZ2 = CLHS->getAPIntValue().countLeadingZeros();
2504 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0)))
2505 if (CLHS->isNullValue()) {

Completed in 116 milliseconds