/external/llvm/include/llvm/ADT/ |
H A D | Triple.h | 265 unsigned LHS[3]; local 266 getOSVersion(LHS[0], LHS[1], LHS[2]); 268 if (LHS[0] != Major) 269 return LHS[0] < Major; 270 if (LHS[1] != Minor) 271 return LHS[1] < Minor; 272 if (LHS[2] != Micro) 273 return LHS[ [all...] |
H A D | ValueMap.h | 267 static bool isEqual(const VH &LHS, const VH &RHS) { argument 268 return LHS == RHS; 270 static bool isEqual(const KeyT &LHS, const VH &RHS) { argument 271 return LHS == RHS.getValPtr();
|
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 493 ExitLimit HowManyLessThans(const SCEV *LHS, const SCEV *RHS, 503 /// isImpliedCond - Test whether the condition described by Pred, LHS, and 506 const SCEV *LHS, const SCEV *RHS, 511 /// LHS, and RHS is true whenever the condition described by Pred, FoundLHS, 514 const SCEV *LHS, const SCEV *RHS, 518 /// Pred, LHS, and RHS is true whenever the condition described by Pred, 521 const SCEV *LHS, const SCEV *RHS, 534 /// of LHS and RHS. 537 const SCEV *LHS, const SCEV *RHS); 577 const SCEV *getAddExpr(const SCEV *LHS, cons argument 594 getMulExpr(const SCEV *LHS, const SCEV *RHS, SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap) argument [all...] |
H A D | ScalarEvolutionExpressions.h | 249 const SCEV *LHS; member in class:llvm::SCEVUDivExpr 252 : SCEV(ID, scUDivExpr), LHS(lhs), RHS(rhs) {} 255 const SCEV *getLHS() const { return LHS; } 259 // In most cases the types of LHS and RHS will be the same, but in some 262 // avoid extra casts in the SCEVExpander. The LHS is more likely to be
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SlotIndexes.h | 302 bool operator()(const IdxMBBPair &LHS, const IdxMBBPair &RHS) const { argument 303 return LHS.first < RHS.first;
|
/external/llvm/include/llvm/Support/ |
H A D | IntegersSubset.h | 235 static bool LessBySize(const self &LHS, const self &RHS) { argument 236 return (LHS.High - LHS.Low) < (RHS.High - RHS.Low);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 125 SDValue LHS = Vals[Slot]; local 129 std::swap(LHS, RHS); 134 LHS.getValueType().getSizeInBits() << 1), 135 LHS, RHS));
|
H A D | LegalizeVectorOps.cpp | 747 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1), CC = Op.getOperand(2); local 748 EVT TmpEltVT = LHS.getValueType().getVectorElementType(); 752 SDValue LHSElem = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, TmpEltVT, LHS,
|
/external/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 129 bool operator()(int LHS, int RHS) { argument 131 if (LHS == -1) return false; 134 return MFI->getObjectSize(LHS) > MFI->getObjectSize(RHS);
|
H A D | StrongPHIElimination.cpp | 184 bool operator()(const MachineInstr *LHS, const MachineInstr *RHS) const { argument 185 return LI->getInstructionIndex(LHS) < LI->getInstructionIndex(RHS);
|
/external/llvm/lib/Target/R600/ |
H A D | SIISelLowering.cpp | 349 SDValue LHS = Op.getOperand(0); local 363 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
|
/external/llvm/lib/Target/X86/Disassembler/ |
H A D | X86Disassembler.cpp | 257 const MCExpr *LHS; local 259 LHS = MCBinaryExpr::CreateSub(Add, Sub, *Ctx); 261 LHS = MCUnaryExpr::CreateMinus(Sub, *Ctx); 263 Expr = MCBinaryExpr::CreateAdd(LHS, Off, *Ctx); 265 Expr = LHS;
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 145 static bool isEqual(const ComparableFunction &LHS, 660 bool DenseMapInfo<ComparableFunction>::isEqual(const ComparableFunction &LHS, argument 662 if (LHS.getFunc() == RHS.getFunc() && 663 LHS.getHash() == RHS.getHash()) 665 if (!LHS.getFunc() || !RHS.getFunc()) 669 if (LHS.getTD() == ComparableFunction::LookupOnly || 673 assert(LHS.getTD() == RHS.getTD() && 676 return FunctionComparator(LHS.getTD(), LHS.getFunc(),
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 47 // Verify type of the LHS matches so we don't fold cmp's of different 70 // 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;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 88 static bool isEqual(SimpleValue LHS, SimpleValue RHS); 96 Value *LHS = BinOp->getOperand(0); local 99 std::swap(LHS, RHS); 106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); 109 return hash_combine(BinOp->getOpcode(), LHS, RHS); 113 Value *LHS = CI->getOperand(0); local 117 std::swap(LHS, RHS); 120 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); 146 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { argument 147 Instruction *LHSI = LHS 253 isEqual(CallValue LHS, CallValue RHS) argument [all...] |
H A D | Reassociate.cpp | 56 inline bool operator<(const ValueEntry &LHS, const ValueEntry &RHS) { argument 57 return LHS.Rank > RHS.Rank; // Sort so that highest rank goes to start. 87 bool operator()(const Factor &LHS, const Factor &RHS) { argument 88 return LHS.Base < RHS.Base; 94 bool operator()(const Factor &LHS, const Factor &RHS) { argument 95 return LHS.Base == RHS.Base; 101 bool operator()(const Factor &LHS, const Factor &RHS) { argument 102 return LHS.Power > RHS.Power; 108 bool operator()(const Factor &LHS, const Factor &RHS) { argument 109 return LHS 270 IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | TypeLoc.h | 173 friend bool operator==(const TypeLoc &LHS, const TypeLoc &RHS) { argument 174 return LHS.Ty == RHS.Ty && LHS.Data == RHS.Data; 177 friend bool operator!=(const TypeLoc &LHS, const TypeLoc &RHS) { argument 178 return !(LHS == RHS);
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 216 static bool isEqual(const WeakObjectProfileTy &LHS, argument 218 return LHS == RHS;
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerManager.h | 656 static bool isEqual(clang::ento::CheckerManager::CachedStmtCheckersKey LHS, argument 658 return LHS == RHS;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SymbolManager.h | 346 const SymExpr *LHS; member in class:clang::ento::SymIntExpr 354 : SymExpr(SymIntKind), LHS(lhs), Op(op), RHS(rhs), T(t) {} 364 const SymExpr *getLHS() const { return LHS; } 378 Profile(ID, LHS, Op, RHS, T); 389 const llvm::APSInt& LHS; member in class:clang::ento::IntSymExpr 397 : SymExpr(IntSymKind), LHS(lhs), Op(op), RHS(rhs), T(t) {} 406 const llvm::APSInt &getLHS() const { return LHS; } 419 Profile(ID, LHS, Op, RHS, T); 430 const SymExpr *LHS; member in class:clang::ento::SymSymExpr 438 : SymExpr(SymSymKind), LHS(lh [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 98 static RangeComparison compare(SourceRange LHS, SourceRange RHS, argument 100 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP)
|
/external/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 205 ComplexPairTy LHS; member in struct:__anon3725::ComplexExprEmitter::BinOpInfo 497 if (Op.LHS.first->getType()->isFloatingPointTy()) { 498 ResR = Builder.CreateFAdd(Op.LHS.first, Op.RHS.first, "add.r"); 499 ResI = Builder.CreateFAdd(Op.LHS.second, Op.RHS.second, "add.i"); 501 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); 502 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); 509 if (Op.LHS.first->getType()->isFloatingPointTy()) { 510 ResR = Builder.CreateFSub(Op.LHS.first, Op.RHS.first, "sub.r"); 511 ResI = Builder.CreateFSub(Op.LHS.second, Op.RHS.second, "sub.i"); 513 ResR = Builder.CreateSub(Op.LHS 625 LValue LHS = CGF.EmitLValue(E->getLHS()); local 675 LValue LHS = CGF.EmitLValue(E->getLHS()); local 719 ComplexPairTy LHS = Visit(E->getTrueExpr()); local [all...] |
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 38 /// production. C99 specifies that the LHS of an assignment operator should be 41 /// LHS of an assignment has to be an l-value, which productions between 43 /// consistency, we parse the LHS as a conditional-expression, then check for 120 ExprResult LHS(ParseAssignmentExpression(isTypeCast)); 121 return ParseRHSOfBinaryExpression(LHS, prec::Comma); 131 ExprResult LHS(ParseObjCAtExpression(AtLoc)); 132 return ParseRHSOfBinaryExpression(LHS, prec::Comma); 140 ExprResult LHS(true); 145 LHS = ParseCastExpression(false); 148 if (!LHS 221 ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) argument 1282 ParsePostfixExpressionSuffix(ExprResult LHS) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 23 // If it is used as the LHS of a simple assignment, it is treated 26 // If it is used as the LHS of a compound assignment, or the operand 186 Expr *LHS, Expr *RHS); 238 Expr *LHS, Expr *RHS); 277 Expr *LHS, Expr *RHS); 353 Expr *LHS, Expr *RHS) { 356 Expr *syntacticLHS = rebuildAndCaptureObject(LHS); 770 Expr *LHS, Expr *RHS) { 777 if (tryBuildGetOfReference(LHS, result)) { 786 << LHS 767 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 878 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 1371 checkPseudoObjectAssignment(Scope *S, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | overloaded-operator.cpp | 405 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}} argument 406 return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::StringRef' and 'rdar9222009::StringRef')}}
|