Searched refs:CRHS (Results 1 - 6 of 6) 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)
89 CRHS == LHS;
523 if (Constant *CRHS = dyn_cast<Constant>(Op1)) {
524 Constant *Ops[] = { CLHS, CRHS };
660 if (Constant *CRHS = dyn_cast<Constant>(Op1)) {
661 Constant *Ops[] = { CLHS, CRHS };
782 if (Constant *CRHS = dyn_cast<Constant>(Op1)) {
783 Constant *Ops[] = { CLHS, CRHS };
824 if (Constant *CRHS
[all...]
H A DScalarEvolutionExpander.cpp156 if (Constant *CRHS = dyn_cast<Constant>(RHS))
157 return ConstantExpr::get(Opcode, CLHS, CRHS);
528 if (Constant *CRHS = dyn_cast<Constant>(Idx))
529 return ConstantExpr::getGetElementPtr(CLHS, CRHS);
H A DValueTracking.cpp1204 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(U->getOperand(1)))
1205 if (CRHS->isAllOnesValue()) {
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp506 if (Constant *CRHS = dyn_cast<Constant>(RHS))
507 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
527 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); local
528 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
577 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); local
578 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1148 if (Constant *CRHS = dyn_cast<Constant>(RHS)) {
1151 return BinaryOperator::CreateSub(SubOne(CRHS), X);
1154 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(RHS)) {
1160 CRHS->getValue() == (CRHS->getValue() & C2->getValue())) {
1163 const APInt &AddRHSV = CRHS->getValue();
1173 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName());
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2479 if (ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
2480 if (CRHS->isAllOnesValue()) {

Completed in 793 milliseconds