/external/clang/include/clang/AST/ |
H A D | DeclarationName.h | 286 friend bool operator==(DeclarationName LHS, DeclarationName RHS) { argument 287 return LHS.Ptr == RHS.Ptr; 291 friend bool operator!=(DeclarationName LHS, DeclarationName RHS) { argument 292 return LHS.Ptr != RHS.Ptr; 303 static int compare(DeclarationName LHS, DeclarationName RHS); 312 inline bool operator<(DeclarationName LHS, DeclarationName RHS) { argument 313 return DeclarationName::compare(LHS, RHS) < 0; 318 inline bool operator>(DeclarationName LHS, DeclarationName RHS) { argument 319 return DeclarationName::compare(LHS, RHS) > 0; 324 inline bool operator<=(DeclarationName LHS, DeclarationNam argument 330 operator >=(DeclarationName LHS, DeclarationName RHS) argument 587 isEqual(clang::DeclarationName LHS, clang::DeclarationName RHS) argument [all...] |
H A D | TypeLoc.h | 180 friend bool operator==(const TypeLoc &LHS, const TypeLoc &RHS) { argument 181 return LHS.Ty == RHS.Ty && LHS.Data == RHS.Data; 184 friend bool operator!=(const TypeLoc &LHS, const TypeLoc &RHS) { argument 185 return !(LHS == RHS);
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 179 inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) { argument 180 return LHS.getRawEncoding() == RHS.getRawEncoding(); 183 inline bool operator!=(const SourceLocation &LHS, const SourceLocation &RHS) { argument 184 return !(LHS == RHS); 187 inline bool operator<(const SourceLocation &LHS, const SourceLocation &RHS) { argument 188 return LHS.getRawEncoding() < RHS.getRawEncoding(); 337 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) { argument 338 return LHS.getRawEncoding() == RHS.getRawEncoding() && 339 LHS.SrcMgr == RHS.SrcMgr; 343 operator!=(const FullSourceLoc &LHS, cons argument 413 isEqual(clang::FileID LHS, clang::FileID RHS) argument [all...] |
/external/clang/lib/Basic/ |
H A D | DiagnosticIDs.cpp | 509 static bool WarningOptionCompare(const WarningOption &LHS, StringRef RHS) { argument 510 return LHS.getName() < RHS;
|
/external/clang/lib/Index/ |
H A D | CommentToXML.cpp | 33 bool operator()(const ParamCommandComment *LHS, argument 38 if (LHS->isParamIndexValid()) { 39 if (LHS->isVarArgParam()) 42 LHSIndex = LHS->getParamIndex(); 60 bool operator()(const TParamCommandComment *LHS, argument 63 if (!LHS->isPositionValid()) 68 if (LHS->getDepth() > 1) 74 if (LHS->getDepth() == 1 && RHS->getDepth() == 1) 75 return LHS->getIndex(0) < RHS->getIndex(0);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 26 Expr *LHS = B->getLHS()->IgnoreParens(); local 34 // With both the LHS and RHS evaluated, process the operation itself. 40 SVal LeftV = state->getSVal(LHS, LCtx); 54 // to the L-Value represented by the LHS. 56 evalStore(Tmp2, B, LHS, *it, state->BindExpr(B, LCtx, ExprVal), 78 LHS->getType()->isIntegralOrEnumerationType() && 80 LeftV = svalBuilder.conjureSymbolVal(LHS, LCtx, LHS->getType(), 89 state = createTemporaryRegionIfNeeded(state, LCtx, LHS); 121 // Perform a load (the LHS) [all...] |
H A D | SimpleSValBuilder.cpp | 47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op, 209 SVal SimpleSValBuilder::MakeSymIntVal(const SymExpr *LHS, argument 271 // Wrap the LHS up in a NonLoc again and let evalCastFromNonLoc do the 274 return evalCastFromNonLoc(nonloc::SymbolVal(LHS), resultTy); 284 QualType SymbolType = LHS->getType(); 301 return makeNonLoc(LHS, op, *ConvertedRHS, resultTy); 426 // We only handle LHS as simple symbols or SymIntExprs. 429 // LHS is a symbolic expression. 481 // If both the LHS and the current expression are additive, 700 // This must come after the test if the LHS i [all...] |
/external/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 142 static bool beforeThanCompare(const Record *LHS, const Record *RHS) { argument 143 assert(!LHS->getLoc().empty() && !RHS->getLoc().empty()); 145 LHS->getLoc().front().getPointer() < RHS->getLoc().front().getPointer(); 148 static bool beforeThanCompareGroups(const GroupInfo *LHS, const GroupInfo *RHS){ argument 149 assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty()); 150 return beforeThanCompare(LHS->DiagsInGroup.front(),
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 110 ExprAST *LHS, *RHS; member in class:__anon25451::BinaryExprAST 113 : Op(op), LHS(lhs), RHS(rhs) {} 254 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 262 return LHS; 273 // the pending operator take RHS as its LHS. 280 // Merge LHS/RHS. 281 LHS = new BinaryExprAST(BinOp, LHS, RHS); 289 ExprAST *LHS = ParsePrimary(); local 290 if (!LHS) retur [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 117 ExprAST *LHS, *RHS; member in class:__anon25452::BinaryExprAST 120 : Op(op), LHS(lhs), RHS(rhs) {} 261 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 269 return LHS; 280 // the pending operator take RHS as its LHS. 287 // Merge LHS/RHS. 288 LHS = new BinaryExprAST(BinOp, LHS, RHS); 296 ExprAST *LHS = ParsePrimary(); local 297 if (!LHS) retur [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | SmallBitVector.h | 575 operator&(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 576 SmallBitVector Result(LHS); 582 operator|(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 583 SmallBitVector Result(LHS); 589 operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 590 SmallBitVector Result(LHS); 600 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) { argument 601 LHS.swap(RHS);
|
H A D | SmallVector.h | 900 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) { argument 901 LHS.swap(RHS); 907 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) { argument 908 LHS.swap(RHS);
|
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 510 ExitLimit HowManyLessThans(const SCEV *LHS, const SCEV *RHS, 512 ExitLimit HowManyGreaterThans(const SCEV *LHS, const SCEV *RHS, 522 /// isImpliedCond - Test whether the condition described by Pred, LHS, and 525 const SCEV *LHS, const SCEV *RHS, 530 /// LHS, and RHS is true whenever the condition described by Pred, FoundLHS, 533 const SCEV *LHS, const SCEV *RHS, 537 /// Pred, LHS, and RHS is true whenever the condition described by Pred, 540 const SCEV *LHS, const SCEV *RHS, 553 /// of LHS and RHS. 556 const SCEV *LHS, cons 600 getAddExpr(const SCEV *LHS, const SCEV *RHS, SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap) argument 617 getMulExpr(const SCEV *LHS, const SCEV *RHS, SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap) argument [all...] |
H A D | ScalarEvolutionExpressions.h | 254 const SCEV *LHS; member in class:llvm::SCEVUDivExpr 257 : SCEV(ID, scUDivExpr), LHS(lhs), RHS(rhs) {} 260 const SCEV *getLHS() const { return LHS; } 264 // In most cases the types of LHS and RHS will be the same, but in some 267 // avoid extra casts in the SCEVExpander. The LHS is more likely to be
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SlotIndexes.h | 326 bool operator()(const IdxMBBPair &LHS, const IdxMBBPair &RHS) const { argument 327 return LHS.first < RHS.first;
|
/external/llvm/include/llvm/IR/ |
H A D | Attributes.h | 384 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; } argument
|
H A D | PassManager.h | 74 friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) { argument 76 swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs); 219 friend void swap(PassModel &LHS, PassModel &RHS) { argument 221 swap(LHS.Pass, RHS.Pass); 245 friend void swap(PassModel &LHS, PassModel &RHS) { argument 247 swap(LHS.Pass, RHS.Pass); 321 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { argument 323 swap(LHS.Result, RHS.Result); 353 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { argument 355 swap(LHS 405 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument 439 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument 979 swap(ModuleToFunctionPassAdaptor &LHS, ModuleToFunctionPassAdaptor &RHS) argument [all...] |
H A D | ValueMap.h | 270 static bool isEqual(const VH &LHS, const VH &RHS) { argument 271 return LHS == RHS; 273 static bool isEqual(const KeyT &LHS, const VH &RHS) { argument 274 return LHS == RHS.getValPtr();
|
/external/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 110 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS); 116 inline std::pair<DigitsT, int16_t> getProduct(DigitsT LHS, DigitsT RHS) { argument 119 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX)) 120 return getAdjusted<DigitsT>(uint64_t(LHS) * RHS); 122 return multiply64(LHS, RHS); 126 inline std::pair<uint32_t, int16_t> getProduct32(uint32_t LHS, uint32_t RHS) { argument 127 return getProduct(LHS, RHS); 131 inline std::pair<uint64_t, int16_t> getProduct64(uint64_t LHS, uint64_t RHS) { argument 132 return getProduct(LHS, RHS); 370 /// Get LHS minu 689 getProduct(DigitsType LHS, DigitsType RHS) argument [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 128 SDValue LHS = Vals[Slot]; local 132 std::swap(LHS, RHS); 137 LHS.getValueType().getSizeInBits() << 1), 138 LHS, RHS));
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFContext.cpp | 395 bool operator()(const std::unique_ptr<DWARFCompileUnit> &LHS, argument 397 return LHS->getOffset() < RHS->getOffset(); 399 bool operator()(const std::unique_ptr<DWARFCompileUnit> &LHS, argument 401 return LHS->getOffset() < RHS; 403 bool operator()(uint32_t LHS, argument 405 return LHS < RHS->getOffset();
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 242 SDValue LHS = Node->getOperand(0), RHS = Node->getOperand(1); local 243 EVT VT = LHS.getValueType(); 248 return CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 49 // Verify type of the LHS matches so we don't fold cmp's of different 72 // If both LHS and RHS would need a PHI, don't do this transformation, 347 // correct type, and PHI together all of the LHS's of the instructions. 455 // correct type, and PHI together all of the LHS's of the instructions. 601 static bool isEqual(const LoweredPHIRecord &LHS, argument 603 return LHS.PN == RHS.PN && LHS.Shift == RHS.Shift && 604 LHS.Width == RHS.Width;
|
H A D | InstCombineVectorOps.cpp | 327 /// elements from either LHS or RHS, return the shuffle mask and true. 329 static bool CollectSingleShuffleElements(Value *V, Value *LHS, Value *RHS, argument 331 assert(LHS->getType() == RHS->getType() && 340 if (V == LHS) { 366 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { 375 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); 377 // This must be extracting from either LHS or RHS. 378 if (EI->getOperand(0) == LHS || EI->getOperand(0) == RHS) { 381 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { 383 if (EI->getOperand(0) == LHS) { 857 Value *LHS = SVI.getOperand(0); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 497 Instruction *LHS = dyn_cast<Instruction>(inst->getOperand(0)); local 499 if (!setupBitInsert(LHS, LHSSrc, LHSMask, LHSShift)) { 503 if (LHS) { LHS->dump(); } 526 dbgs() << "LHS: "; if (LHS) { LHS->dump(); } else { dbgs() << "(None)\n"; } 527 dbgs() << "LHS Src: "; if (LHSSrc) { LHSSrc->dump(); } else { dbgs() << "(None)\n"; } 528 dbgs() << "LHS Mask: "; if (LHSMask) { LHSMask->dump(); } else { dbgs() << "(None)\n"; } 529 dbgs() << "LHS Shif 847 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local 886 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local 982 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local 999 Value *LHS = CI->getOperand(CI->getNumOperands()-1); local [all...] |