/external/clang/include/clang/AST/ |
H A D | Stmt.h | 661 enum { LHS, RHS, SUBSTMT, END_EXPR }; enumerator in enum:clang::CaseStmt::__anon3298 662 Stmt* SubExprs[END_EXPR]; // The expression for the RHS is Non-null for 673 SubExprs[RHS] = reinterpret_cast<Stmt*>(rhs); 690 Expr *getRHS() { return reinterpret_cast<Expr*>(SubExprs[RHS]); } 697 return reinterpret_cast<const Expr*>(SubExprs[RHS]); 703 void setRHS(Expr *Val) { SubExprs[RHS] = reinterpret_cast<Stmt*>(Val); }
|
H A D | Expr.h | 1950 enum { LHS, RHS, END_EXPR=2 }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ArraySubscriptExpr::__anon3281 1966 SubExprs[RHS] = rhs; 1980 /// the type of the RHS, as it is possible for the LHS to be a vector of 1986 Expr *getRHS() { return cast<Expr>(SubExprs[RHS]); } 1987 const Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } 1988 void setRHS(Expr *E) { SubExprs[RHS] = E; } 2787 enum { LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryOperator::__anon3283 2803 SubExprs[RHS] = rhs; 2821 Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } 2822 void setRHS(Expr *E) { SubExprs[RHS] 3008 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ConditionalOperator::__anon3284 3075 enum { COMMON, COND, LHS, RHS, NUM_SUBEXPRS }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryConditionalOperator::__anon3285 3329 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ChooseExpr::__anon3286 [all...] |
H A D | Type.h | 814 friend bool operator==(const QualType &LHS, const QualType &RHS) { argument 815 return LHS.Value == RHS.Value; 817 friend bool operator!=(const QualType &LHS, const QualType &RHS) { argument 818 return LHS.Value != RHS.Value;
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 506 // evaluating the RHS: 0 && X -> 0, 1 || X -> 1 510 TryResult RHS = tryEvaluateBool(Bop->getRHS()); 511 if (RHS.isKnown()) { 513 return LHS.isTrue() || RHS.isTrue(); 515 return LHS.isTrue() && RHS.isTrue(); 518 TryResult RHS = tryEvaluateBool(Bop->getRHS()); local 519 if (RHS.isKnown()) { 521 // is determined by the RHS: X && 0 -> 0, X || 1 -> 1. 522 if (RHS.isTrue() == (Bop->getOpcode() == BO_LOr)) 523 return RHS 1220 Expr *RHS = B->getRHS()->IgnoreParens(); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 504 static bool isEqual(const ObjCSummaryKey& LHS, const ObjCSummaryKey& RHS) { argument 505 return LHS.getIdentifier() == RHS.getIdentifier() && 506 LHS.getSelector() == RHS.getSelector();
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 1492 CAMLprim LLVMValueRef llvm_build_add(LLVMValueRef LHS, LLVMValueRef RHS, argument 1494 return LLVMBuildAdd(Builder_val(B), LHS, RHS, String_val(Name)); 1498 CAMLprim LLVMValueRef llvm_build_nsw_add(LLVMValueRef LHS, LLVMValueRef RHS, argument 1500 return LLVMBuildNSWAdd(Builder_val(B), LHS, RHS, String_val(Name)); 1504 CAMLprim LLVMValueRef llvm_build_nuw_add(LLVMValueRef LHS, LLVMValueRef RHS, argument 1506 return LLVMBuildNUWAdd(Builder_val(B), LHS, RHS, String_val(Name)); 1510 CAMLprim LLVMValueRef llvm_build_fadd(LLVMValueRef LHS, LLVMValueRef RHS, argument 1512 return LLVMBuildFAdd(Builder_val(B), LHS, RHS, String_val(Name)); 1516 CAMLprim LLVMValueRef llvm_build_sub(LLVMValueRef LHS, LLVMValueRef RHS, argument 1518 return LLVMBuildSub(Builder_val(B), LHS, RHS, String_va 1522 llvm_build_nsw_sub(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1528 llvm_build_nuw_sub(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1534 llvm_build_fsub(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1540 llvm_build_mul(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1546 llvm_build_nsw_mul(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1552 llvm_build_nuw_mul(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1558 llvm_build_fmul(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1564 llvm_build_udiv(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1570 llvm_build_sdiv(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1576 llvm_build_exact_sdiv(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1582 llvm_build_fdiv(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1588 llvm_build_urem(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1594 llvm_build_srem(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1600 llvm_build_frem(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1606 llvm_build_shl(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1612 llvm_build_lshr(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1618 llvm_build_ashr(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1624 llvm_build_and(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1630 llvm_build_or(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1636 llvm_build_xor(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1849 llvm_build_icmp(value Pred, LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1857 llvm_build_fcmp(value Pred, LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument 1958 llvm_build_ptrdiff(LLVMValueRef LHS, LLVMValueRef RHS, value Name, value B) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 450 /// getExactSDiv - Return an expression for LHS /s RHS, if it can be determined 456 static const SCEV *getExactSDiv(const SCEV *LHS, const SCEV *RHS, argument 460 if (LHS == RHS) 463 // Handle a few RHS special cases. 464 const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS); 490 const SCEV *Step = getExactSDiv(AR->getStepRecurrence(SE), RHS, SE, 493 const SCEV *Start = getExactSDiv(AR->getStart(), RHS, SE, 510 const SCEV *Op = getExactSDiv(*I, RHS, SE, 520 // Check for a multiply operand that we can pull RHS out of. 529 if (const SCEV *Q = getExactSDiv(S, RHS, S 1100 isEqual(const SmallVector<const SCEV *, 2> &LHS, const SmallVector<const SCEV *, 2> &RHS) argument 1427 isEqual(const std::pair<const SCEV *, LSRUse::KindType> &LHS, const std::pair<const SCEV *, LSRUse::KindType> &RHS) argument [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 69 bool operator<(ValueEqualityComparisonCase RHS) const { 71 return Value < RHS.Value; 458 if (Value *RHS = GatherConstantCompares(I->getOperand(1), Vals, Extra, TD, 460 if (LHS == RHS) 466 // The RHS of the or/and can't be folded in and we haven't used "Extra" yet, 478 // If the LHS can't be folded in, but Extra is available and RHS can, try to 483 if (Value *RHS = GatherConstantCompares(I->getOperand(1), Vals, Extra, TD, 485 return RHS; 730 bool operator()(const ConstantInt *LHS, const ConstantInt *RHS) const { 731 return LHS->getValue().ult(RHS 738 const ConstantInt *RHS = *(const ConstantInt*const*)P2; local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 1334 llvm::Value *RHS = EmitScalarExpr(Dst.getBaseIvarExp()); local 1335 llvm::Value *dst = RHS; 1336 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); 1339 llvm::Value *BytesBetween = Builder.CreateSub(LHS, RHS, "ivar.offset"); 2648 // Comma expressions just emit their LHS then their RHS as an l-value. 2661 // Note that in all of these cases, __block variables need the RHS 2662 // evaluated first just in case the variable gets moved by the RHS.
|
H A D | CGExprScalar.cpp | 45 Value *RHS; member in struct:__anon48::BinOpInfo 398 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); 401 return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul"); 409 return Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); 410 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); 430 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); 433 return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor"); 436 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); 703 Value *RHS = CGF.EmitScalarExpr(E->getExpr(1)); local 712 // Shuffle LHS & RHS int 887 Value *LHS = 0, *RHS = 0; local 1737 Value *RHS; local 2041 llvm::Value *RHS local 2092 Value *RHS = Ops.RHS; local 2129 Value *RHS = Ops.RHS; local 2187 Value *RHS = CGF.EmitScalarExpr(E->getRHS()); local 2192 Value *RHS = Visit(E->getRHS()); local 2279 CodeGenFunction::ComplexPairTy RHS = CGF.EmitComplexExpr(E->getRHS()); local 2313 Value *RHS; local 2344 CGF.EmitStoreThroughBitfieldLValue(RValue::get(RHS), LHS, &RHS); local 2370 Value *RHS = Visit(E->getRHS()); local 2437 Value *RHS = Visit(E->getRHS()); local 2572 llvm::Value *RHS = Visit(rhsExpr); local 2615 llvm::Value *RHS = Visit(rhsExpr); local 2641 Value *RHS = Visit(rhsExpr); local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 3795 QualType Sema::CheckPointerToMemberOperands(ExprResult &LHS, ExprResult &RHS, argument 3800 !RHS.get()->getType()->isPlaceholderType() && 3809 // The RHS always undergoes lvalue conversions. 3810 RHS = DefaultLvalueConversion(RHS.take()); 3811 if (RHS.isInvalid()) return QualType(); 3818 QualType RHSType = RHS.get()->getType(); 3822 << OpSpelling << RHSType << RHS.get()->getSourceRange(); 3876 if (isa<CXXScalarValueInitExpr>(RHS.get()->IgnoreParens())) { 4032 static bool FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, argument 4108 CXXCheckConditionalOperands(ExprResult &Cond, ExprResult &LHS, ExprResult &RHS, ExprValueKind &VK, ExprObjectKind &OK, SourceLocation QuestionLoc) argument 4829 ExprResult RHS = ActOnDecltypeExpression(BO->getRHS()); local [all...] |
H A D | SemaStmt.cpp | 462 const llvm::APSInt &RHS) { 463 return LHS.first < RHS; 466 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { 467 return LHS.first < RHS.first; 470 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { 471 return LHS < RHS.first; 845 // If the RHS is not the same type as the condition, insert an 461 operator ()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, const llvm::APSInt &RHS) argument 465 operator ()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, const std::pair<llvm::APSInt, CaseStmt*> &RHS) argument 469 operator ()(const llvm::APSInt &LHS, const std::pair<llvm::APSInt, CaseStmt*> &RHS) argument
|
H A D | SemaChecking.cpp | 386 ExprResult RHS = DefaultFunctionArrayLvalueConversion(Arg); local 387 QualType RHSTy = RHS.get()->getType(); 393 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); 394 if (RHS.isInvalid()) 397 RHS.get(), AA_Assigning)) 1464 // with mask. If so, verify that RHS is an integer vector type with the 3236 const Expr *RHS = BO->getRHS()->IgnoreParenCasts(); local 3239 if (isa<IntegerLiteral>(RHS)) 3242 Ex = RHS; 3578 // the RHS argumen 3792 CheckFloatComparison(SourceLocation Loc, Expr* LHS, Expr *RHS) argument 4307 Expr *RHS = E->getRHS()->IgnoreParenImpCasts(); local 5483 checkUnsafeAssigns(SourceLocation Loc, QualType LHS, Expr *RHS) argument 5501 checkUnsafeExprAssigns(SourceLocation Loc, Expr *LHS, Expr *RHS) argument [all...] |
H A D | SemaDecl.cpp | 10664 static bool isEqual(const DupKey& LHS, const DupKey& RHS) { argument 10665 return LHS.isTombstoneOrEmptyKey == RHS.isTombstoneOrEmptyKey && 10666 LHS.val == RHS.val;
|
H A D | SemaExpr.cpp | 754 ExprResult &RHS, QualType LHSType, 767 RHS = S.ImpCastExprToType(RHS.take(), LHSType, CK_FloatingComplexCast); 815 ExprResult &RHS, QualType LHSType, 819 if (!handleIntegerToComplexFloatConversion(S, RHS, LHS, RHSType, LHSType, 822 if (!handleIntegerToComplexFloatConversion(S, LHS, RHS, LHSType, RHSType, 842 return handleComplexFloatToComplexFloatConverstion(S, LHS, RHS, 850 S, LHS, RHS, LHSType, RHSType, /*convertComplexExpr*/!IsCompAssign, 855 S, RHS, LHS, RHSType, LHSType, /*convertComplexExpr*/true, 893 ExprResult &RHS, QualTyp 753 handleComplexFloatToComplexFloatConverstion(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType LHSType, QualType RHSType, bool IsCompAssign) argument 814 handleComplexFloatConversion(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType LHSType, QualType RHSType, bool IsCompAssign) argument 892 handleFloatConversion(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType LHSType, QualType RHSType, bool IsCompAssign) argument 971 handleIntegerConversion(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType LHSType, QualType RHSType, bool IsCompAssign) argument 1025 UsualArithmeticConversions(ExprResult &LHS, ExprResult &RHS, bool IsCompAssign) argument 4688 checkConditionalConvertScalarsToVectors(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType CondTy) argument 4710 checkConditionalVoidType(Sema &S, ExprResult &LHS, ExprResult &RHS) argument 4741 checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 4807 checkConditionalBlockPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 4833 checkConditionalObjectPointersCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 4893 CheckConditionalOperands(ExprResult &Cond, ExprResult &LHS, ExprResult &RHS, ExprValueKind &VK, ExprObjectKind &OK, SourceLocation QuestionLoc) argument 5016 FindCompositeObjCPointerType(ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument 5310 ExprResult Cond = Owned(CondExpr), LHS = Owned(LHSExpr), RHS = Owned(RHSExpr); local 5555 CheckAssignmentConstraints(QualType LHSType, ExprResult &RHS, CastKind &Kind) argument 5840 CheckTransparentUnionArgumentConstraints(QualType ArgType, ExprResult &RHS) argument 5894 CheckSingleAssignmentConstraints(QualType LHSType, ExprResult &RHS, bool Diagnose) argument 5974 InvalidOperands(SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 5982 CheckVectorOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 6073 checkArithmeticNull(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompare) argument 6109 CheckMultiplyDivideOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign, bool IsDiv) argument 6136 CheckRemainderOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 6184 diagnoseArithmeticOnTwoFunctionPointers(Sema &S, SourceLocation Loc, Expr *LHS, Expr *RHS) argument 6350 CheckAdditionOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, QualType* CompLHSTy) argument 6423 CheckSubtractionOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, QualType* CompLHSTy) argument 6507 DiagnoseBadShiftValues(Sema& S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, QualType LHSType) argument 6572 CheckShiftOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, bool IsCompAssign) argument 6629 checkEnumComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 6656 diagnoseDistinctPointerComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument 6667 convertPointersToCompositeType(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 6712 diagnoseFunctionPointerToVoidComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument 6735 hasIsEqualMethod(Sema &S, const Expr *LHS, const Expr *RHS) argument 6786 diagnoseObjCLiteralComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, BinaryOperator::Opcode Opc) argument 6880 CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned OpaqueOpc, bool IsRelational) argument 7285 CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsRelational) argument 7327 CheckVectorLogicalOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 7338 CheckBitwiseOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 7364 CheckLogicalOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc) argument 7641 CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType) argument 7726 CheckCommaOperands(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 8237 ExprResult LHS = Owned(LHSExpr), RHS = Owned(RHSExpr); local 8541 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument [all...] |
H A D | SemaOverload.cpp | 2098 const ObjCInterfaceType* RHS = FromObjCPtr->getInterfaceType(); local 2099 if (getLangOpts().CPlusPlus && LHS && RHS && 2357 QualType RHS = FromFunctionType->getResultType(); local 2359 if ((!getLangOpts().CPlusPlus || !RHS->isRecordType()) && 2360 !RHS.hasQualifiers() && LHS.hasQualifiers()) 2363 if (Context.hasSameType(RHS,LHS)) { 2365 } else if (isObjCPointerConversion(RHS, LHS, 10093 /// \param RHS Right-hand argument. 10098 Expr *LHS, Expr *RHS) { 10099 Expr *Args[2] = { LHS, RHS }; 10095 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument [all...] |
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 348 /// rules. For example, the RHS of (0 && foo()) is not evaluated. We can 349 /// evaluate the expression regardless of what the RHS is, but C only allows 855 static bool operator==(const MemberPtr &LHS, const MemberPtr &RHS) { argument 856 if (!LHS.getDecl() || !RHS.getDecl()) 857 return !LHS.getDecl() && !RHS.getDecl(); 858 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl()) 860 return LHS.Path == RHS.Path; 2194 LValue RHS; local 2195 RHS.setFrom(Info.Ctx, ArgValues[0]); 2197 RHS, Resul 4410 CheckedIntArithmetic(EvalInfo &Info, const Expr *E, const APSInt &LHS, const APSInt &RHS, unsigned BitWidth, Operation Op) argument 4437 swap(EvalResult &RHS) argument 4673 APSInt RHS = RHSVal.getInt(); local 4796 EvalResult RHS; local 4819 ComplexValue LHS, RHS; local [all...] |
H A D | ASTContext.cpp | 3115 const ObjCProtocolDecl *RHS) { 3116 return LHS->getDeclName() < RHS->getDeclName(); 3958 /// '_Complex double'). If LHS > RHS, return 1. If LHS == RHS, return 0. If 3959 /// LHS < RHS, return -1. 3960 int ASTContext::getFloatingTypeOrder(QualType LHS, QualType RHS) const { 3962 FloatingRank RHSR = getFloatingRank(RHS); 4101 /// C99 6.3.1.8p1. If LHS > RHS, return 1. If LHS == RHS, return 0. If 4102 /// LHS < RHS, retur 3114 CmpProtocolNames(const ObjCProtocolDecl *LHS, const ObjCProtocolDecl *RHS) argument 5760 areCompatVectorTypes(const VectorType *LHS, const VectorType *RHS) argument 5984 const ObjCObjectType* RHS = RHSOPT->getObjectType(); local 6029 const ObjCInterfaceType* RHS = RHSOPT->getInterfaceType(); local 6054 const ObjCObjectType* RHS = RHSOPT->getObjectType(); local 6097 const ObjCObjectType *RHS = Rptr->getObjectType(); local 6120 canAssignObjCInterfaces(const ObjCObjectType *LHS, const ObjCObjectType *RHS) argument 6200 areComparableObjCPointerTypes(QualType LHS, QualType RHS) argument 6222 typesAreCompatible(QualType LHS, QualType RHS, bool CompareUnqualified) argument 6230 propertyTypesAreCompatible(QualType LHS, QualType RHS) argument 6234 typesAreBlockPointerCompatible(QualType LHS, QualType RHS) argument 6294 QualType RHS = rbase->getResultType(); local 6448 mergeTypes(QualType LHS, QualType RHS, bool OfBlockPointer, bool Unqualified, bool BlockReturnType) argument 6748 mergeObjCGCQualifiers(QualType LHS, QualType RHS) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 3495 SourceLocation RHS = getLoc(R); local 3496 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); 3499 bool operator()(const PPEntityOffset &L, SourceLocation RHS) const { 3501 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); 3505 SourceLocation RHS = getLoc(R); local 3506 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); 4819 SourceLocation RHS = getLocation(R); 4820 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); 4824 SourceLocation RHS = getLocation(R); 4825 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 247 SDValue ReassociateOps(unsigned Opc, DebugLoc DL, SDValue LHS, SDValue RHS); 251 bool SimplifySelectOps(SDNode *SELECT, SDValue LHS, SDValue RHS); 268 SDNode *MatchRotate(SDValue LHS, SDValue RHS, DebugLoc DL); 533 // Also, set the incoming LHS, RHS, and CC references to the appropriate 536 static bool isSetCCEquivalent(SDValue N, SDValue &LHS, SDValue &RHS, argument 540 RHS = N.getOperand(1); 550 RHS = N.getOperand(1); 1220 // Constant operands are canonicalized to RHS. 1386 // canonicalize constant to RHS 1466 // If all possibly-set bits on the LHS are clear on the RHS, retur 3167 MatchRotate(SDValue LHS, SDValue RHS, DebugLoc DL) argument 3327 SDValue LHS, RHS, CC; local 3393 SDValue LHS = N0.getOperand(0), RHS = N0.getOperand(1); local 3405 SDValue LHS = N0.getOperand(0), RHS = N0.getOperand(1); local 8380 SDValue RHS = N->getOperand(1); local 8431 SDValue RHS = N->getOperand(1); local 8528 SimplifySelectOps(SDNode *TheSelect, SDValue LHS, SDValue RHS) argument [all...] |
H A D | SelectionDAGBuilder.cpp | 613 void append(const RegsForValue &RHS) { argument 614 ValueVTs.append(RHS.ValueVTs.begin(), RHS.ValueVTs.end()); 615 RegVTs.append(RHS.RegVTs.begin(), RHS.RegVTs.end()); 616 Regs.append(RHS.Regs.begin(), RHS.Regs.end()); 1421 // Emit the RHS condition into TmpBB. 1437 // Emit the RHS condition into TmpBB. 2035 const Value *RHS, *LH local 4364 ExpandPowI(DebugLoc DL, SDValue LHS, SDValue RHS, SelectionDAG &DAG) argument 5508 const Value *LHS = I.getArgOperand(0), *RHS = I.getArgOperand(1); local 5640 SDValue RHS = getValue(I.getArgOperand(1)); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 886 // (for better address arithmetic) if the LHS and RHS of the OR are provably 896 // If all of the bits are known zero on the LHS or RHS, the add won't 947 // (for better address arithmetic) if the LHS and RHS of the OR are 953 // If all of the bits are known zero on the LHS or RHS, the add won't 1060 // (for better address arithmetic) if the LHS and RHS of the OR are 1065 // If all of the bits are known zero on the LHS or RHS, the add won't 3720 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1); local 3724 // If the RHS of the comparison is a 0.0, we don't need to do the 3726 if (isFloatingPointZero(RHS)) 3753 Cmp = DAG.getNode(ISD::FSUB, dl, CmpVT, LHS, RHS); 4050 BuildIntrinsicOp(unsigned IID, SDValue LHS, SDValue RHS, SelectionDAG &DAG, DebugLoc dl, EVT DestVT = MVT::Other) argument 4071 BuildVSLDOI(SDValue LHS, SDValue RHS, unsigned Amt, EVT VT, SelectionDAG &DAG, DebugLoc dl) argument 4235 SDValue RHS = BuildSplatI(-16, SplatSize, MVT::Other, DAG, dl); local 4242 SDValue RHS = BuildSplatI(-16, SplatSize, MVT::Other, DAG, dl); local 4252 GeneratePerfectShuffle(unsigned PFEntry, SDValue LHS, SDValue RHS, SelectionDAG &DAG, DebugLoc dl) argument 4585 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1); local 4610 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1); local 4617 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1); local 5555 SDValue LHS = N->getOperand(2), RHS = N->getOperand(3); local [all...] |
/external/llvm/lib/VMCore/ |
H A D | Core.cpp | 1855 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 1857 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name)); 1860 LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 1862 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); 1865 LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 1867 return wrap(unwrap(B)->CreateNUWAdd(unwrap(LHS), unwrap(RHS), Name)); 1870 LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 1872 return wrap(unwrap(B)->CreateFAdd(unwrap(LHS), unwrap(RHS), Name)); 1875 LLVMValueRef LLVMBuildSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 1877 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwrap(RHS), Nam 1880 LLVMBuildNSWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1885 LLVMBuildNUWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1890 LLVMBuildFSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1895 LLVMBuildMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1900 LLVMBuildNSWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1905 LLVMBuildNUWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1910 LLVMBuildFMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1915 LLVMBuildUDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1920 LLVMBuildSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1925 LLVMBuildExactSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1930 LLVMBuildFDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1935 LLVMBuildURem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1940 LLVMBuildSRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1945 LLVMBuildFRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1950 LLVMBuildShl(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1955 LLVMBuildLShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1960 LLVMBuildAShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1965 LLVMBuildAnd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1970 LLVMBuildOr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1975 LLVMBuildXor(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 1980 LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2206 LLVMBuildICmp(LLVMBuilderRef B, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2213 LLVMBuildFCmp(LLVMBuilderRef B, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2288 LLVMBuildPtrDiff(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument [all...] |
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 1267 Expr *Base, *RHS; local 1279 // Rebuild the RHS. 1280 RHS = cast<BinaryOperator>(PseudoOp->getSyntacticForm())->getRHS(); 1281 RHS = cast<OpaqueValueExpr>(RHS)->getSourceExpr(); 1282 RHS = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(RHS)); 1299 RHS, 1312 RHS, 1328 RHS, [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 2759 ARMTargetLowering::getARMCmp(SDValue LHS, SDValue RHS, ISD::CondCode CC, argument 2762 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) { 2772 RHS = DAG.getConstant(C-1, MVT::i32); 2779 RHS = DAG.getConstant(C-1, MVT::i32); 2786 RHS = DAG.getConstant(C+1, MVT::i32); 2793 RHS = DAG.getConstant(C+1, MVT::i32); 2813 return DAG.getNode(CompareType, dl, MVT::Glue, LHS, RHS); 2818 ARMTargetLowering::getVFPCmp(SDValue LHS, SDValue RHS, SelectionDAG &DAG, argument 2821 if (!isFloatingPointZero(RHS)) 2822 Cmp = DAG.getNode(ARMISD::CMPFP, dl, MVT::Glue, LHS, RHS); 2904 SDValue RHS = Op.getOperand(1); local 3009 SDValue RHS = Op.getOperand(3); local 3059 SDValue RHS = Op.getOperand(3); local 4478 GeneratePerfectShuffle(unsigned PFEntry, SDValue LHS, SDValue RHS, SelectionDAG &DAG, DebugLoc dl) argument 8832 SDValue RHS = N->getOperand(3); local 8909 SDValue RHS = Cmp.getOperand(1); local [all...] |