/external/clang/test/SemaCXX/ |
warn-self-assign.cpp | 18 #define LHS a 23 LHS = a; 25 LHS OP RHS; 27 #undef LHS
|
/external/llvm/lib/MC/ |
MCExternalSymbolizer.cpp | 98 const MCExpr *LHS; 100 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx); 102 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx); 104 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); 106 Expr = LHS;
|
MCExpr.cpp | 82 // Only print parens around the LHS if it is non-trivial. 120 // Only print parens around the LHS if it is non-trivial. 142 const MCBinaryExpr *MCBinaryExpr::Create(Opcode Opc, const MCExpr *LHS, 144 return new (Ctx) MCBinaryExpr(Opc, LHS, RHS); 529 /// from two MCValue's LHS and RHS where 530 /// Result = LHS + RHS 548 const MCValue &LHS,const MCSymbolRefExpr *RHS_A, 553 const MCSymbolRefExpr *LHS_A = LHS.getSymA(); 554 const MCSymbolRefExpr *LHS_B = LHS.getSymB(); 555 int64_t LHS_Cst = LHS.getConstant() [all...] |
/external/llvm/lib/Support/ |
DeltaAlgorithm.cpp | 32 changeset_ty LHS, RHS; 36 ((idx < N) ? LHS : RHS).insert(*it); 37 if (!LHS.empty()) 38 Res.push_back(LHS);
|
/external/llvm/lib/Analysis/ |
PHITransAddr.cpp | 264 // PHI translate the LHS. 269 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); 270 if (LHS == 0) return 0; 272 // If the PHI translated LHS is an add of a constant, fold the immediates. 273 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) 276 LHS = BOp->getOperand(0); 280 // If the old 'LHS' was an input, add the new 'LHS' as an input. 283 AddAsInput(LHS); 288 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, TLI, DT)) [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachORelocationInfo.cpp | 87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); 101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
|
/external/llvm/unittests/Support/ |
IntegersSubsetTest.cpp | 185 const unsigned_ranges LHS, 199 Ranges.push_back(Range(Int(LHS[i][0]), Int(LHS[i][1]))); 254 unsigned_ranges LHS = { { 0, 4 }, { 7, 10 }, { 13, 17 } }; 259 TestDiff(LHS, 3, RHS, 1, ExcludeRes, 2, IntersectRes, 3); 263 unsigned_ranges LHS = { { 0, 4 }, { 7, 10 }, { 13, 17 } }; 268 TestDiff(LHS, 3, RHS, 2, ExcludeRes, 1, IntersectRes, 2); 272 unsigned_ranges LHS = { { 0, 17 } }; 278 TestDiff(LHS, 1, RHS, 3, ExcludeRes, 4, IntersectRes, 3); 282 unsigned_ranges LHS = { { 2, 4 } } [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600ISelLowering.cpp | 336 SDValue LHS = Op.getOperand(2); 345 LHS, RHS, 392 SDValue LHS = Op.getOperand(0); 400 // LHS and RHS are guaranteed to be the same value type 401 EVT CompareVT = LHS.getValueType(); 404 // necessary we need to convert LHS and RHS to be the same type True and 422 // XXX Check the value of LHS and RHS and avoid creating sequences like 424 LHS = DAG.getNode(ConversionOp, DL, VT, LHS); 431 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC) [all...] |
SIISelLowering.cpp | 312 SDValue LHS = Op.getOperand(2); 321 LHS, RHS, 376 SDValue LHS = Op.getOperand(0); 384 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
|
AMDILISelLowering.cpp | 305 // Only known if known in both the LHS and RHS 493 SDValue LHS = Op.getOperand(0); 509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); 520 // int ia = (int)LHS; 521 SDValue ia = DAG.getSExtOrTrunc(LHS, DL, INTTY); 574 SDValue LHS = Op.getOperand(0); 577 // mov r0, LHS 590 // mov r0, LHS 591 SDValue r0 = LHS; 653 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY) [all...] |
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 179 SourceLocation LHS = getLoc(L); 181 return SM.isBeforeInTranslationUnit(LHS, RHS); 185 SourceLocation LHS = getLoc(L); 186 return SM.isBeforeInTranslationUnit(LHS, RHS); 189 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { 191 return SM.isBeforeInTranslationUnit(LHS, RHS);
|
/external/clang/lib/Rewrite/Core/ |
DeltaTree.cpp | 56 DeltaTreeNode *LHS, *RHS; 134 Children[0] = IR.LHS; 137 FullDelta = IR.LHS->getFullDelta()+IR.RHS->getFullDelta()+IR.Split.Delta; 219 InsertRes->LHS->DoInsertion(FileIndex, Delta, 0 /*can't fail*/); 239 IN->Children[i] = InsertRes->LHS; 252 IN->Children[i] = InsertRes->LHS; 262 InsertSide = cast<DeltaTreeInteriorNode>(InsertRes->LHS); 297 // the first 'WidthFactor-1' values to the LHS child (which we leave in this 326 InsertRes.LHS = this;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdempotentOperationChecker.cpp | 86 static bool isSelfAssign(const Expr *LHS, const Expr *RHS); 88 static bool isTruncationExtensionAssignment(const Expr *LHS, 131 const Expr *LHS = B->getLHS(); 141 LHSContainsFalsePositive = !CanVary(LHS, AC) 142 || containsNonLocalVarDecl(LHS); 149 SVal LHSVal = state->getSVal(LHS, LCtx); 159 // Dereference the LHS SVal if this is an assign operation 180 LHSVal = state->getSVal(LHSVal.castAs<Loc>(), LHS->getType()); 197 if (isSelfAssign(LHS, RHS)) { 198 if (!isUnused(LHS, AC) && !isTruncationExtensionAssignment(LHS, RHS)) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 100 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) {} 232 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { 240 return LHS; 251 // the pending operator take RHS as its LHS. 258 // Merge LHS/RHS. 259 LHS = new BinaryExprAST(BinOp, LHS, RHS); 267 ExprAST *LHS = ParsePrimary(); 268 if (!LHS) return 0; 270 return ParseBinOpRHS(0, LHS); [all...] |
/external/llvm/include/llvm/ADT/ |
Twine.h | 150 /// LHS - The prefix in the concatenation, which may be uninitialized for 152 Child LHS; 173 LHS.twine = &_LHS; 181 : LHS(_LHS), RHS(_RHS), LHSKind(_LHSKind), RHSKind(_RHSKind) { 221 // The RHS cannot be non-empty if the LHS is empty. 227 !LHS.twine->isBinary()) 266 LHS.cString = Str; 277 LHS.stdString = &Str; 284 LHS.stringRef = &Str; 291 LHS.character = Val [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 282 Value *LHS = Builder.CreateAnd(PartValue, MaskCst, "cppop.and1"); 287 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step");
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsBaseInfo.h | 137 const MCExpr *LHS = BE->getLHS(); 140 if ((LHS->getKind() != MCExpr::SymbolRef) || !CE) 143 return std::make_pair(cast<MCSymbolRefExpr>(LHS), CE->getValue());
|
/external/llvm/lib/Target/Mips/ |
Mips16ISelDAGToDAG.cpp | 271 SDValue LHS = Node->getOperand(0); 274 EVT VT = LHS.getValueType(); 282 SDNode *Result = CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
|
MipsSEISelDAGToDAG.cpp | 226 SDValue LHS = Node->getOperand(0), RHS = Node->getOperand(1); 227 EVT VT = LHS.getValueType(); 232 return CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
|
/external/llvm/lib/Target/R600/ |
AMDGPUISelLowering.cpp | 284 SDValue LHS = Op.getOperand(0); 291 !((LHS == True && RHS == False) || (LHS == False && RHS == True))) { 316 if (LHS == True) 317 return DAG.getNode(AMDGPUISD::FMIN, DL, VT, LHS, RHS); 319 return DAG.getNode(AMDGPUISD::FMAX, DL, VT, LHS, RHS); 327 if (LHS == True) 328 return DAG.getNode(AMDGPUISD::FMAX, DL, VT, LHS, RHS); 330 return DAG.getNode(AMDGPUISD::FMIN, DL, VT, LHS, RHS);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 25 MatchSelectPattern(Value *V, Value *&LHS, Value *&RHS) { 32 LHS = ICI->getOperand(0); 672 Value *LHS = IC->getOperand(0); 673 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) 713 Value *V = Builder->CreateZExtOrTrunc(LHS, SI.getType()); [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
R600ISelLowering.cpp | 336 SDValue LHS = Op.getOperand(2); 345 LHS, RHS, 392 SDValue LHS = Op.getOperand(0); 400 // LHS and RHS are guaranteed to be the same value type 401 EVT CompareVT = LHS.getValueType(); 404 // necessary we need to convert LHS and RHS to be the same type True and 422 // XXX Check the value of LHS and RHS and avoid creating sequences like 424 LHS = DAG.getNode(ConversionOp, DL, VT, LHS); 431 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC) [all...] |
SIISelLowering.cpp | 312 SDValue LHS = Op.getOperand(2); 321 LHS, RHS, 376 SDValue LHS = Op.getOperand(0); 384 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
|
/frameworks/native/include/private/ui/ |
RegionHelper.h | 40 static const uint32_t LHS = 0x5; // 0b101 43 op_nand = LHS & ~RHS, 44 op_and = LHS & RHS, 45 op_or = LHS | RHS, 46 op_xor = LHS ^ RHS 69 inline region_operator(int op, const region& lhs, const region& rhs) 70 : op_mask(op), spanner(lhs, rhs) 77 SpannerInner spannerInner(spanner.lhs, spanner.rhs); 161 region lhs; member in class:android::region_operator::Spanner 165 inline Spanner(const region& lhs, const region& rhs 222 region lhs; member in class:android::region_operator::SpannerInner [all...] |
/external/clang/lib/Frontend/ |
PrintPreprocessedOutput.cpp | 662 const id_macro_pair *LHS = static_cast<const id_macro_pair*>(a); 664 return LHS->first->getName().compare(RHS->first->getName());
|