/external/clang/lib/Basic/ |
H A D | DiagnosticIDs.cpp | 61 bool operator<(const StaticDiagInfoRec &RHS) const { 62 return DiagID < RHS.DiagID; 509 static bool WarningOptionCompare(const WarningOption &LHS, StringRef RHS) { argument 510 return LHS.getName() < RHS;
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 27 Expr *RHS = B->getRHS()->IgnoreParens(); local 34 // With both the LHS and RHS evaluated, process the operation itself. 41 SVal RightV = state->getSVal(RHS, LCtx); 53 // Simulate the effects of a "store": bind the value of the RHS 72 RHS->getType()->isIntegralOrEnumerationType() && 74 RightV = svalBuilder.conjureSymbolVal(RHS, LCtx, RHS->getType(), 557 const Expr *RHS = cast<Expr>(Elem.getStmt()); local 558 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); 570 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS 926 SVal RHS; local [all...] |
H A D | SimpleSValBuilder.cpp | 48 const llvm::APSInt &RHS, QualType resultTy); 211 const llvm::APSInt &RHS, 222 if (RHS == 0) 224 else if (RHS == 1) 229 if (RHS == 0) 232 else if (RHS == 1) 237 if (RHS == 0) 240 else if (RHS == 1) 249 if (RHS == 0) 254 if (RHS 209 MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op, const llvm::APSInt &RHS, QualType resultTy) argument [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()); 151 RHS->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) {} 269 ExprAST *RHS = ParsePrimary(); local 270 if (!RHS) return 0; 272 // If BinOp binds less tightly with RHS than the operator after RHS, let 273 // the pending operator take RHS as its LHS. 276 RHS = ParseBinOpRHS(TokPrec+1, RHS); 277 if (RHS [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) {} 276 ExprAST *RHS = ParsePrimary(); local 277 if (!RHS) return 0; 279 // If BinOp binds less tightly with RHS than the operator after RHS, let 280 // the pending operator take RHS as its LHS. 283 RHS = ParseBinOpRHS(TokPrec+1, RHS); 284 if (RHS [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | SmallBitVector.h | 150 SmallBitVector(const SmallBitVector &RHS) { argument 151 if (RHS.isSmall()) 152 X = RHS.X; 154 switchToLarge(new BitVector(*RHS.getPointer())); 157 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { argument 158 RHS.X = 1; 387 bool anyCommon(const SmallBitVector &RHS) const { 388 if (isSmall() && RHS.isSmall()) 389 return (getSmallBits() & RHS 414 operator &=(const SmallBitVector &RHS) argument 429 reset(const SmallBitVector &RHS) argument 462 operator |=(const SmallBitVector &RHS) argument 476 operator ^=(const SmallBitVector &RHS) argument 491 operator =(const SmallBitVector &RHS) argument 508 operator =(SmallBitVector &&RHS) argument 516 swap(SmallBitVector &RHS) argument 575 operator &(const SmallBitVector &LHS, const SmallBitVector &RHS) argument 582 operator |(const SmallBitVector &LHS, const SmallBitVector &RHS) argument 589 operator ^(const SmallBitVector &LHS, const SmallBitVector &RHS) argument 600 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) argument [all...] |
H A D | SmallVector.h | 412 void swap(SmallVectorImpl &RHS); 643 SmallVectorImpl &operator=(const SmallVectorImpl &RHS); 645 SmallVectorImpl &operator=(SmallVectorImpl &&RHS); 647 bool operator==(const SmallVectorImpl &RHS) const { 648 if (this->size() != RHS.size()) return false; 649 return std::equal(this->begin(), this->end(), RHS.begin()); 651 bool operator!=(const SmallVectorImpl &RHS) const { 652 return !(*this == RHS); 655 bool operator<(const SmallVectorImpl &RHS) const { 657 RHS 677 swap(SmallVectorImpl<T> &RHS) argument 716 operator =(const SmallVectorImpl<T> &RHS) argument 764 operator =(SmallVectorImpl<T> &&RHS) argument 868 SmallVector(const SmallVector &RHS) argument 873 operator =(const SmallVector &RHS) argument 878 SmallVector(SmallVector &&RHS) argument 883 operator =(SmallVector &&RHS) argument 900 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) argument 907 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) argument [all...] |
H A D | StringMap.h | 56 StringMapImpl(StringMapImpl &&RHS) argument 57 : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets), 58 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), 59 ItemSize(RHS.ItemSize) { 60 RHS.TheTable = nullptr; 61 RHS.NumBuckets = 0; 62 RHS.NumItems = 0; 63 RHS 242 StringMap(StringMap &&RHS) argument 245 operator =(StringMap RHS) argument [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 483 Constant *RHS, 510 ExitLimit HowManyLessThans(const SCEV *LHS, const SCEV *RHS, 512 ExitLimit HowManyGreaterThans(const SCEV *LHS, const SCEV *RHS, 523 /// RHS is true whenever the given FoundCondValue value evaluates to true. 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 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 | 255 const SCEV *RHS; member in class:llvm::SCEVUDivExpr 257 : SCEV(ID, scUDivExpr), LHS(lhs), RHS(rhs) {} 261 const SCEV *getRHS() const { return RHS; } 264 // In most cases the types of LHS and RHS will be the same, but in some 268 // a pointer type than the RHS, so use the RHS' type here.
|
/external/llvm/include/llvm/Bitcode/ |
H A D | BitstreamReader.h | 204 BitstreamCursor(const BitstreamCursor &RHS) argument 206 operator=(RHS); 230 void operator=(const BitstreamCursor &RHS);
|
/external/llvm/include/llvm/IR/ |
H A D | Attributes.h | 328 bool operator==(const AttributeSet &RHS) const { 329 return pImpl == RHS.pImpl; 331 bool operator!=(const AttributeSet &RHS) const { 332 return pImpl != RHS.pImpl; 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); 78 PreservedAnalyses &operator=(PreservedAnalyses RHS) { argument 79 swap(*this, RHS); 219 friend void swap(PassModel &LHS, PassModel &RHS) { argument 221 swap(LHS.Pass, RHS.Pass); 223 PassModel &operator=(PassModel RHS) { argument 224 swap(*this, RHS); 245 friend void swap(PassModel &LHS, PassModel &RHS) { argument 247 swap(LHS.Pass, RHS 249 operator =(PassModel RHS) argument 321 swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) argument 325 operator =(AnalysisResultModel RHS) argument 353 swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) argument 357 operator =(AnalysisResultModel RHS) argument 405 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument 409 operator =(AnalysisPassModel RHS) argument 439 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument 443 operator =(AnalysisPassModel RHS) argument 473 operator =(ModulePassManager &&RHS) argument 518 operator =(FunctionPassManager &&RHS) argument 585 operator =(AnalysisManagerBase &&RHS) argument 698 operator =(ModuleAnalysisManager &&RHS) argument 750 operator =(FunctionAnalysisManager &&RHS) argument 839 operator =(FunctionAnalysisManagerModuleProxy RHS) argument 872 operator =(Result RHS) argument 919 operator =(Result RHS) argument 945 operator =(ModuleAnalysisManagerFunctionProxy RHS) argument 979 swap(ModuleToFunctionPassAdaptor &LHS, ModuleToFunctionPassAdaptor &RHS) argument 983 operator =(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(); 312 bool operator==(const ValueMapIterator &RHS) const { 313 return I == RHS.I; 315 bool operator!=(const ValueMapIterator &RHS) const { 316 return I != RHS.I; 362 bool operator==(const ValueMapConstIterator &RHS) const { 363 return I == RHS [all...] |
/external/llvm/include/llvm/ProfileData/ |
H A D | InstrProfReader.h | 54 bool operator==(const InstrProfIterator &RHS) { return Reader == RHS.Reader; } argument 55 bool operator!=(const InstrProfIterator &RHS) { return Reader != RHS.Reader; } argument
|
/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 minus RHS wit 689 getProduct(DigitsType LHS, DigitsType RHS) argument [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 129 SDValue RHS = Vals[Slot + 1]; local 132 std::swap(LHS, RHS); 138 LHS, RHS));
|
H A D | SelectionDAGBuilder.cpp | 629 void append(const RegsForValue &RHS) { argument 630 ValueVTs.append(RHS.ValueVTs.begin(), RHS.ValueVTs.end()); 631 RegVTs.append(RHS.RegVTs.begin(), RHS.RegVTs.end()); 632 Regs.append(RHS.Regs.begin(), RHS.Regs.end()); 1485 // Emit the RHS condition into TmpBB. 1519 // Emit the RHS condition into TmpBB. 2187 const Value *RHS, *LH [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 242 SDValue LHS = Node->getOperand(0), RHS = Node->getOperand(1); local 247 SDValue(Carry, 0), RHS);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 72 // If both LHS and RHS would need a PHI, don't do this transformation, 417 // Can fold binop, compare or shift here if the RHS is a constant, 564 bool operator<(const PHIUsageRecord &RHS) const { 565 if (PHIId < RHS.PHIId) return true; 566 if (PHIId > RHS.PHIId) return false; 567 if (Shift < RHS.Shift) return true; 568 if (Shift > RHS.Shift) return false; 570 RHS.Inst->getType()->getPrimitiveSizeInBits(); 602 const LoweredPHIRecord &RHS) { 603 return LHS.PN == RHS 601 isEqual(const LoweredPHIRecord &LHS, const LoweredPHIRecord &RHS) argument [all...] |
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() && 346 if (V == RHS) { 366 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { 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)) { 388 assert(EI->getOperand(0) == RHS); 446 Value *RHS local 858 Value *RHS = SVI.getOperand(1); local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | PromoteMemoryToRegister.cpp | 174 void swap(RenamePassData &RHS) { argument 175 std::swap(BB, RHS.BB); 176 std::swap(Pred, RHS.Pred); 177 Values.swap(RHS.Values);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 498 Instruction *RHS = dyn_cast<Instruction>(inst->getOperand(1)); local 511 if (!setupBitInsert(RHS, RHSSrc, RHSMask, RHSShift)) { 515 if (RHS) { RHS->dump(); } 530 dbgs() << "RHS: "; if (RHS) { RHS->dump(); } else { dbgs() << "(None)\n"; } 531 dbgs() << "RHS Src: "; if (RHSSrc) { RHSSrc->dump(); } else { dbgs() << "(None)\n"; } 532 dbgs() << "RHS Mask: "; if (RHSMask) { RHSMask->dump(); } else { dbgs() << "(None)\n"; } 533 dbgs() << "RHS Shif [all...] |
/external/clang/include/clang/AST/ |
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);
|