/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILISelLowering.cpp | 305 // Only known if known in both the LHS and RHS 494 SDValue RHS = Op.getOperand(1); local 509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); 523 // int ib, (int)RHS; 524 SDValue ib = DAG.getSExtOrTrunc(RHS, DL, INTTY); 575 SDValue RHS = Op.getOperand(1); local 578 // mov r1, RHS 593 // mov r1, RHS 594 SDValue r1 = RHS; 654 SDValue RHS local 672 SDValue RHS = DAG.getSExtOrTrunc(Op.getOperand(1), DL, INTTY); local 684 SDValue RHS = Op.getOperand(1); local [all...] |
/external/clang/include/clang/AST/ |
H A D | ASTVector.h | 61 ASTVector &operator=(ASTVector &&RHS) { argument 62 ASTVector O(std::move(RHS));
|
H A D | APValue.h | 136 APValue(const APValue &RHS); 137 APValue(APValue &&RHS) : Kind(Uninitialized) { swap(RHS); } argument 178 void swap(APValue &RHS); 392 /// Assign by swapping from a copy of the RHS. 393 APValue &operator=(APValue RHS) { 394 swap(RHS);
|
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, DeclarationName RHS) { argument 330 operator >=(DeclarationName LHS, DeclarationName RHS) argument 587 isEqual(clang::DeclarationName LHS, clang::DeclarationName RHS) argument [all...] |
/external/clang/include/clang/Sema/ |
H A D | Ownership.h | 168 const ActionResult &operator=(PtrTy RHS) { argument 169 Val = RHS; 214 const ActionResult &operator=(PtrTy RHS) { argument 215 void *VP = PtrTraits::getAsVoidPointer(RHS);
|
/external/clang/lib/AST/ |
H A D | DeclarationName.cpp | 80 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { argument 81 if (LHS.getNameKind() != RHS.getNameKind()) 82 return (LHS.getNameKind() < RHS.getNameKind() ? -1 : 1); 87 IdentifierInfo *RII = RHS.getAsIdentifierInfo(); 98 Selector RHSSelector = RHS.getObjCSelector(); 115 if (QualTypeOrdering()(LHS.getCXXNameType(), RHS.getCXXNameType())) 117 if (QualTypeOrdering()(RHS.getCXXNameType(), LHS.getCXXNameType())) 123 RHS.getCXXOverloadedOperator()); 127 RHS.getCXXLiteralIdentifier()->getName());
|
H A D | APValue.cpp | 125 APValue::APValue(const APValue &RHS) : Kind(Uninitialized) { argument 126 switch (RHS.getKind()) { 131 setInt(RHS.getInt()); 135 setFloat(RHS.getFloat()); 139 setVector(((const Vec *)(const char *)RHS.Data.buffer)->Elts, 140 RHS.getVectorLength()); 144 setComplexInt(RHS.getComplexIntReal(), RHS.getComplexIntImag()); 148 setComplexFloat(RHS.getComplexFloatReal(), RHS 250 swap(APValue &RHS) argument [all...] |
/external/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 180 SourceLocation RHS = getLoc(R); local 181 return SM.isBeforeInTranslationUnit(LHS, RHS); 184 bool operator()(PreprocessedEntity *L, SourceLocation RHS) const { 186 return SM.isBeforeInTranslationUnit(LHS, RHS); 190 SourceLocation RHS = getLoc(R); local 191 return SM.isBeforeInTranslationUnit(LHS, RHS);
|
H A D | TokenLexer.cpp | 260 // If it is not the LHS/RHS of a ## operator, we must pre-expand the 312 // Okay, we have a token that is either the LHS or RHS of a paste (##) 362 // If an empty argument is on the LHS or RHS of a paste, the standard (C99 364 // implement this by eating ## operators when a LHS or RHS expands to 373 // If this is on the RHS of a paste operator, we've already copied the 505 /// operator. Read the ## and RHS, and paste the LHS/RHS together. If there 517 assert(!isAtEnd() && "No token on the RHS of a paste operator!"); 519 // Get the RHS token. 520 const Token &RHS local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 239 const Expr *RHS = B->getRHS()->IgnoreParenCasts(); local 240 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS); 276 const Expr *RHS = variable 278 RHS = RHS->IgnoreParenCasts(); 282 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) 288 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS))
|
H A D | IdenticalExprChecker.cpp | 83 const Expr *RHS = B->getRHS(); local 92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { 93 Sr[0] = RHS->getSourceRange(); 100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { 101 Sr[0] = RHS->getSourceRange(); 206 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); local 209 const DeclRefExpr *DeclRef2 = dyn_cast<DeclRefExpr>(RHS); 211 const FloatingLiteral *FloatLit2 = dyn_cast<FloatingLiteral>(RHS); 230 // Here only LHS is checked since RHS will be implicit casted to float.
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 306 NonLoc LHS, NonLoc RHS, 308 if (!State->isTainted(RHS) && !State->isTainted(LHS)) 312 const SymExpr *symRHS = RHS.getAsSymExpr(); 322 if (Optional<nonloc::ConcreteInt> rInt = RHS.getAs<nonloc::ConcreteInt>()) 304 makeSymExprValNN(ProgramStateRef State, BinaryOperator::Opcode Op, NonLoc LHS, NonLoc RHS, QualType ResultTy) argument
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 248 ExprAST *RHS = ParsePrimary(); local 249 if (!RHS) return 0; 251 // If BinOp binds less tightly with RHS than the operator after RHS, let 252 // the pending operator take RHS as its LHS. 255 RHS = ParseBinOpRHS(TokPrec+1, RHS); 256 if (RHS == 0) return 0; 259 // Merge LHS/RHS. 260 LHS = new BinaryExprAST(BinOp, LHS, RHS); [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 584 const AliasAnalysis::Location &RHS) { 585 return LHS.Ptr == RHS.Ptr && 586 LHS.Size == RHS.Size && 587 LHS.TBAATag == RHS.TBAATag; 583 isEqual(const AliasAnalysis::Location &LHS, const AliasAnalysis::Location &RHS) argument
|
/external/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, argument 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { 51 return BinaryOperator::CreateNUWAdd(LHS, RHS); 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { 54 return BinaryOperator::CreateFAdd(LHS, RHS); 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, argument 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); 72 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 88 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 97 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 118 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 125 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 131 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument [all...] |
/external/llvm/lib/DebugInfo/ |
H A D | DWARFDebugLine.h | 93 static bool orderByAddress(const Row& LHS, const Row& RHS) { argument 94 return LHS.Address < RHS.Address; 152 static bool orderByLowPC(const Sequence& LHS, const Sequence& RHS) { argument 153 return LHS.LowPC < RHS.LowPC;
|
/external/llvm/lib/Support/ |
H A D | APInt.cpp | 123 APInt& APInt::AssignSlowCase(const APInt& RHS) { argument 125 if (this == &RHS) 128 if (BitWidth == RHS.getBitWidth()) { 131 memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE); 137 assert(!RHS.isSingleWord()); 139 pVal = getMemory(RHS.getNumWords()); 140 memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE); 141 } else if (getNumWords() == RHS.getNumWords()) 142 memcpy(pVal, RHS 155 operator =(uint64_t RHS) argument 356 operator *=(const APInt& RHS) argument 398 operator &=(const APInt& RHS) argument 410 operator |=(const APInt& RHS) argument 422 operator ^=(const APInt& RHS) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 27 MatchSelectPattern(Value *V, Value *&LHS, Value *&RHS) { argument 41 RHS = CmpRHS; 1035 Value *LHS, *RHS, *LHS2, *RHS2; 1036 if (SelectPatternFlavor SPF = MatchSelectPattern(&SI, LHS, RHS)) { 1039 SI, SPF, RHS)) 1041 if (SelectPatternFlavor SPF2 = MatchSelectPattern(RHS, LHS2, RHS2)) 1042 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(RHS),SPF2,LHS2,RHS2,
|
H A D | InstCombineShifts.cpp | 491 // If the operand is an bitwise operator with a constant RHS, and the 755 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); local 756 Value *Cmp = Builder->CreateICmpEQ(II->getArgOperand(0), RHS);
|
H A D | InstCombineSimplifyDemanded.cpp | 43 // This instruction is producing bits that are not demanded. Shrink the RHS. 160 // If either the LHS or the RHS are Zero, the result is zero. 182 // If either the LHS or the RHS are One, the result is One. 236 // If either the LHS or the RHS are Zero, the result is zero. 258 // If the RHS is a constant, see if we can simplify it. 262 // Output known-1 bits are only known if set in both the LHS & RHS. 264 // Output known-0 are known to be clear if zero in either the LHS | RHS. 268 // If either the LHS or the RHS are One, the result is One. 295 // If the RHS is a constant, see if we can simplify it. 299 // Output known-0 bits are only known if clear in both the LHS & RHS 1246 Value *RHS = II->getArgOperand(1); local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 84 static bool isEqual(SimpleValue LHS, SimpleValue RHS); 93 Value *RHS = BinOp->getOperand(1); local 95 std::swap(LHS, RHS); 102 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); 105 return hash_combine(BinOp->getOpcode(), LHS, RHS); 110 Value *RHS = CI->getOperand(1); local 113 std::swap(LHS, RHS); 116 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); 142 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { argument 143 Instruction *LHSI = LHS.Inst, *RHSI = RHS 244 isEqual(CallValue LHS, CallValue RHS) argument [all...] |
H A D | SeparateConstOffsetFromGEP.cpp | 194 /// Returns true if LHS and RHS have no bits in common, i.e., LHS | RHS == 0. 195 bool NoCommonBits(Value *LHS, Value *RHS) const; 326 Value *LHS = BO->getOperand(0), *RHS = BO->getOperand(1); local 327 // Do not trace into "or" unless it is equivalent to "add". If LHS and RHS 328 // don't have common bits, (LHS | RHS) is equivalent to (LHS + RHS). 329 if (BO->getOpcode() == Instruction::Or && !NoCommonBits(LHS, RHS)) 356 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { 589 bool ConstantOffsetExtractor::NoCommonBits(Value *LHS, Value *RHS) cons [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILISelLowering.cpp | 305 // Only known if known in both the LHS and RHS 494 SDValue RHS = Op.getOperand(1); local 509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); 523 // int ib, (int)RHS; 524 SDValue ib = DAG.getSExtOrTrunc(RHS, DL, INTTY); 575 SDValue RHS = Op.getOperand(1); local 578 // mov r1, RHS 593 // mov r1, RHS 594 SDValue r1 = RHS; 654 SDValue RHS local 672 SDValue RHS = DAG.getSExtOrTrunc(Op.getOperand(1), DL, INTTY); local 684 SDValue RHS = Op.getOperand(1); local [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 309 BlockInfo(BlockInfo &&RHS) argument 310 : ExitMap(std::move(RHS.ExitMap)), 311 HasBackEdges(RHS.HasBackEdges), 312 UnprocessedSuccessors(RHS.UnprocessedSuccessors), 313 ProcessedPredecessors(RHS.ProcessedPredecessors) {} 315 BlockInfo &operator=(BlockInfo &&RHS) { argument 316 if (this != &RHS) { 317 ExitMap = std::move(RHS.ExitMap); 318 HasBackEdges = RHS.HasBackEdges; 319 UnprocessedSuccessors = RHS [all...] |
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 48 bool operator==(const FileID &RHS) const { return ID == RHS.ID; } 49 bool operator<(const FileID &RHS) const { return ID < RHS.ID; } 50 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; } 51 bool operator!=(const FileID &RHS) const { return !(*this == RHS); } 52 bool operator>(const FileID &RHS) const { return RHS < *thi 179 operator ==(const SourceLocation &LHS, const SourceLocation &RHS) argument 183 operator !=(const SourceLocation &LHS, const SourceLocation &RHS) argument 187 operator <(const SourceLocation &LHS, const SourceLocation &RHS) argument 337 operator ==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) argument 343 operator !=(const FullSourceLoc &LHS, const FullSourceLoc &RHS) argument 413 isEqual(clang::FileID LHS, clang::FileID RHS) argument [all...] |