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 &&
594 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
596 Constant *Ops[] = { CLHS, CRHS };
597 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops,
759 if (Constant *CLHS = dyn_cast<Constant>(Op0))
761 Constant *Ops[] = { CLHS, CRHS };
762 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(),
893 if (Constant *CLHS
[all...]
H A DInlineCost.cpp493 if (Constant *CLHS = dyn_cast<Constant>(LHS))
495 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
510 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
512 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
560 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
562 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
H A DValueTracking.cpp51 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(Op0)) {
55 if (!CLHS->getValue().isNegative()) {
57 unsigned NLZ = (CLHS->getValue()+1).countLeadingZeros();
66 unsigned NLZ2 = CLHS->getValue().countLeadingZeros();
1104 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0)))
1105 if (CLHS->isNullValue()) {
H A DScalarEvolutionExpander.cpp155 if (Constant *CLHS = dyn_cast<Constant>(LHS))
157 return ConstantExpr::get(Opcode, CLHS, CRHS);
528 if (Constant *CLHS = dyn_cast<Constant>(V))
530 return ConstantExpr::getGetElementPtr(CLHS, CRHS);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1960 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0))) {
1964 if (CLHS->getAPIntValue().isNonNegative()) {
1965 unsigned NLZ = (CLHS->getAPIntValue()+1).countLeadingZeros();
1974 unsigned NLZ2 = CLHS->getAPIntValue().countLeadingZeros();
2220 if (ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(Op.getOperand(0)))
2221 if (CLHS->isNullValue()) {

Completed in 165 milliseconds