/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 139 SDValue RHS = Vals[Slot + 1]; 142 std::swap(LHS, RHS); 148 LHS, RHS));
|
LegalizeVectorOps.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
TargetLoweringObjectFileImpl.cpp | 755 const MCExpr *RHS = 757 return MCBinaryExpr::createSub(LHS, RHS, Ctx); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEISelDAGToDAG.cpp | 251 SDValue LHS = Node->getOperand(0), RHS = Node->getOperand(1); 267 // Generate a second addition only if we know that RHS is not a 270 ConstantSDNode *C = dyn_cast<ConstantSDNode>(RHS); 272 AddCarry = CurDAG->getMachineNode(ADDuOp, DL, VT, SDValue(Carry, 0), RHS); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
EarlyCSE.cpp | 87 static bool isEqual(SimpleValue LHS, SimpleValue RHS); 96 Value *RHS = BinOp->getOperand(1); 98 std::swap(LHS, RHS); 106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); 109 return hash_combine(BinOp->getOpcode(), LHS, RHS); 114 Value *RHS = CI->getOperand(1); 117 std::swap(LHS, RHS); 120 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); 147 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { 148 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst [all...] |
SeparateConstOffsetFromGEP.cpp | 458 Value *LHS = BO->getOperand(0), *RHS = BO->getOperand(1); 459 // Do not trace into "or" unless it is equivalent to "add". If LHS and RHS 460 // don't have common bits, (LHS | RHS) is equivalent to (LHS + RHS). 462 !haveNoCommonBitsSet(LHS, RHS, DL, nullptr, BO, DT)) 489 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { [all...] |
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | [all...] |
/external/clang/lib/Parse/ |
ParseExpr.cpp | 296 // In particular, the RHS of the '?' is 'expression', not 349 // Parse another leaf here for the RHS of the operator. 350 // ParseCastExpression works here because all RHS expressions in C have it 356 // braced-init-list on the RHS of an assignment. For better diagnostics, 358 // they only appear on the RHS of assignments later. 359 ExprResult RHS; 362 RHS = ParseBraceInitializer(); 365 RHS = ParseAssignmentExpression(); 367 RHS = ParseCastExpression(false); 369 if (RHS.isInvalid()) [all...] |
ParseStmt.cpp | 687 ExprResult RHS; 690 RHS = ParseConstantExpression(); 691 if (RHS.isInvalid()) { 719 RHS.get(), ColonLoc); [all...] |
/external/clang/lib/Sema/ |
SemaPseudoObject.cpp | 25 // [expr setProp: RHS] 167 Expr *LHS = ce->getLHS(), *RHS = ce->getRHS(); 168 Expr *&rebuiltExpr = ce->isConditionTrue() ? LHS : RHS; 173 LHS, RHS, 216 Expr *LHS, Expr *RHS); 286 Expr *LHS, Expr *RHS); 326 Expr *LHS, Expr *RHS); 424 Expr *LHS, Expr *RHS) { 428 OpaqueValueExpr *capturedRHS = capture(RHS); 430 // In some very specific cases, semantic analysis of the RHS as a 1645 Expr *rhs = cast<OpaqueValueExpr>(cop->getRHS())->getSourceExpr(); local 1655 Expr *rhs = cast<OpaqueValueExpr>(bop->getRHS())->getSourceExpr(); local [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 160 std::unique_ptr<ExprAST> LHS, RHS; 164 std::unique_ptr<ExprAST> RHS) 165 : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {} 475 auto RHS = ParseUnary(); 476 if (!RHS) 479 // If BinOp binds less tightly with RHS than the operator after RHS, let 480 // the pending operator take RHS as its LHS. 483 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 166 std::unique_ptr<ExprAST> LHS, RHS; 170 std::unique_ptr<ExprAST> RHS) 171 : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {} 545 auto RHS = ParseUnary(); 546 if (!RHS) 549 // If BinOp binds less tightly with RHS than the operator after RHS, let 550 // the pending operator take RHS as its LHS. 553 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 163 ExprAST *LHS, *RHS; 165 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 166 : Op(op), LHS(lhs), RHS(rhs) {} 502 ExprAST *RHS = ParseUnary(); 503 if (!RHS) return 0; 505 // If BinOp binds less tightly with RHS than the operator after RHS, let 506 // the pending operator take RHS as its LHS. 509 RHS = ParseBinOpRHS(TokPrec+1, RHS) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 148 ExprAST *LHS, *RHS; 150 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 151 : Op(op), LHS(lhs), RHS(rhs) {} 487 ExprAST *RHS = ParseUnary(); 488 if (!RHS) return 0; 490 // If BinOp binds less tightly with RHS than the operator after RHS, let 491 // the pending operator take RHS as its LHS. 494 RHS = ParseBinOpRHS(TokPrec+1, RHS) [all...] |
/external/llvm/include/llvm/ADT/ |
ImmutableSet.h | 130 bool isElementEqual(const ImutAVLTree* RHS) const { 131 return isElementEqual(RHS->getValue()); 137 bool isEqual(const ImutAVLTree& RHS) const { 138 if (&RHS == this) 142 iterator RItr = RHS.begin(), REnd = RHS.end(); 163 bool isNotEqual(const ImutAVLTree& RHS) const { return !isEqual(RHS); } 920 static bool isEqual(key_type_ref LHS, key_type_ref RHS) { 921 return std::equal_to<key_type>()(LHS,RHS); [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 245 /// We assume that LHS == RHS, where LHS is a SCEVUnknown and RHS a 248 const SCEVConstant *RHS; 252 const SCEVConstant *RHS); 264 const SCEVConstant *getRHS() const { return RHS; } 629 Constant *RHS, 639 /// RHS`. 640 ExitLimit computeShiftCompareExitLimit(Value *LHS, Value *RHS, 665 ExitLimit HowManyLessThans(const SCEV *LHS, const SCEV *RHS, 667 ExitLimit HowManyGreaterThans(const SCEV *LHS, const SCEV *RHS, [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 211 APInt RHS = RHSC->getValue().zextOrSelf(Offset.getBitWidth()); 233 Offset += RHS; 238 Offset -= RHS; 243 Offset *= RHS; 244 Scale *= RHS; 249 Offset <<= RHS.getLimitedValue(); 250 Scale <<= RHS.getLimitedValue(); [all...] |
ConstantFolding.cpp | [all...] |
InlineCost.cpp | 545 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 550 if (!isa<Constant>(RHS)) 551 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) 552 RHS = SimpleRHS; 554 if (Constant *CRHS = dyn_cast<Constant>(RHS)) 570 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); 575 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); 611 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 616 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); 621 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset) [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 795 GenericValue RHS = getConstantValue(CE->getOperand(1)); 802 case Instruction::Add: GV.IntVal = LHS.IntVal + RHS.IntVal; break; 803 case Instruction::Sub: GV.IntVal = LHS.IntVal - RHS.IntVal; break; 804 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break; 805 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break; 806 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break; 807 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break; 808 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; 809 case Instruction::And: GV.IntVal = LHS.IntVal & RHS.IntVal; break; 810 case Instruction::Or: GV.IntVal = LHS.IntVal | RHS.IntVal; break [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); 239 if (!RHS) 243 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) 250 return ConstantExpr::getOr(LHS, RHS); 253 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); 254 if (!RHS) 258 if (RHS->isNullValue()) 259 return RHS; 264 return ConstantExpr::getAnd(LHS, RHS); [all...] |
/external/llvm/lib/MC/ |
MCDwarf.cpp | 84 const MCExpr *RHS = 87 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext()); [all...] |
/external/llvm/lib/TableGen/ |
TGParser.cpp | 952 Init *RHS = InitList.pop_back_val(); 953 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type)) 955 InitList.back() = RHS; 1012 Init *RHS = ParseValue(CurRec, ItemType); 1013 if (!RHS) [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.cpp | 810 static SDValue EmitCMP(SDValue &LHS, SDValue &RHS, SDValue &TargetCC, 825 std::swap(LHS, RHS); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXISelDAGToDAG.cpp | [all...] |