/external/llvm/lib/Analysis/ |
LoopUnrollAnalyzer.cpp | 189 if (Constant *CRHS = dyn_cast<Constant>(RHS)) { 190 if (CLHS->getType() == CRHS->getType()) { 191 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
|
InstructionSimplify.cpp | 97 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); 98 if (CPred == Pred && CLHS == LHS && CRHS == RHS) 101 CRHS == LHS; 532 if (Constant *CRHS = dyn_cast<Constant>(Op1)) 533 return ConstantFoldBinaryOpOperands(Instruction::Add, CLHS, CRHS, Q.DL); 666 if (Constant *CRHS = dyn_cast<Constant>(Op1)) 667 return ConstantFoldBinaryOpOperands(Instruction::Sub, CLHS, CRHS, Q.DL); 790 if (Constant *CRHS = dyn_cast<Constant>(Op1)) 791 return ConstantFoldBinaryOpOperands(Instruction::FAdd, CLHS, CRHS, Q.DL); [all...] |
InlineCost.cpp | 675 if (Constant *CRHS = dyn_cast<Constant>(RHS)) 677 ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { 697 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); 698 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { 743 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); 744 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { [all...] |
ScalarEvolutionExpander.cpp | 175 if (Constant *CRHS = dyn_cast<Constant>(RHS)) 176 return ConstantExpr::get(Opcode, CLHS, CRHS); 502 if (Constant *CRHS = dyn_cast<Constant>(Idx)) 504 CLHS, CRHS); [all...] |
ValueTracking.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 230 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(RHS)) { 233 return BinaryOperator::CreateSub(SubOne(CRHS), X); 238 CRHS->getValue() == (CRHS->getValue() & C2->getValue())) { 241 const APInt &AddRHSV = CRHS->getValue(); 251 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName());
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
InstructionSimplify.cpp | 546 if (Constant *CRHS = dyn_cast<Constant>(Op1)) { 547 Constant *Ops[] = { CLHS, CRHS }; 615 if (Constant *CRHS = dyn_cast<Constant>(Op1)) { 616 Constant *Ops[] = { CLHS, CRHS }; 735 if (Constant *CRHS = dyn_cast<Constant>(Op1)) { 736 Constant *Ops[] = { CLHS, CRHS }; [all...] |
ScalarEvolutionExpander.cpp | 130 if (Constant *CRHS = dyn_cast<Constant>(RHS)) 131 return ConstantExpr::get(Opcode, CLHS, CRHS); 500 if (Constant *CRHS = dyn_cast<Constant>(Idx)) 501 return ConstantExpr::getGetElementPtr(CLHS, CRHS); [all...] |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SIISelLowering.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | [all...] |