/external/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 65 ConstantFoldCompareInstOperands(unsigned Predicate, Constant *LHS,
|
H A D | ValueTracking.h | 221 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS, 226 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS,
|
H A D | CGSCCPassManager.h | 206 friend void swap(ModuleToPostOrderCGSCCPassAdaptor &LHS, argument 209 swap(LHS.Pass, RHS.Pass); 432 friend void swap(CGSCCToFunctionPassAdaptor &LHS, argument 435 swap(LHS.Pass, RHS.Pass);
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFUnit.h | 58 bool operator()(uint32_t LHS, argument 60 return LHS < RHS->getNextUnitOffset(); 251 [=](const DWARFDebugInfoEntryMinimal &LHS, uint32_t Offset) { 252 return LHS.getOffset() < Offset;
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 125 ExprAST *LHS, *RHS; member in class:__anon10096::BinaryExprAST 129 : Op(op), LHS(lhs), RHS(rhs) {} 287 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 295 return LHS; 307 // the pending operator take RHS as its LHS. 315 // Merge LHS/RHS. 316 LHS = new BinaryExprAST(BinOp, LHS, RHS); 324 ExprAST *LHS = ParsePrimary(); local 325 if (!LHS) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 143 ExprAST *LHS, *RHS; member in class:__anon10097::BinaryExprAST 147 : Op(op), LHS(lhs), RHS(rhs) {} 407 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 415 return LHS; 427 // the pending operator take RHS as its LHS. 435 // Merge LHS/RHS. 436 LHS = new BinaryExprAST(BinOp, LHS, RHS); 444 ExprAST *LHS = ParsePrimary(); local 445 if (!LHS) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 162 ExprAST *LHS, *RHS; member in class:__anon10098::BinaryExprAST 166 : Op(op), LHS(lhs), RHS(rhs) {} 454 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 462 return LHS; 474 // the pending operator take RHS as its LHS. 482 // Merge LHS/RHS. 483 LHS = new BinaryExprAST(BinOp, LHS, RHS); 491 ExprAST *LHS = ParseUnary(); local 492 if (!LHS) [all...] |
/external/llvm/include/llvm/Option/ |
H A D | ArgList.h | 80 friend bool operator==(arg_iterator LHS, arg_iterator RHS) { argument 81 return LHS.Current == RHS.Current; 83 friend bool operator!=(arg_iterator LHS, arg_iterator RHS) { argument 84 return !(LHS == RHS); 294 /// \brief Create an arg string for (\p LHS + \p RHS), reusing the 296 const char *GetOrMakeJoinedArgString(unsigned Index, StringRef LHS,
|
/external/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 465 static void NegateCC(SDValue &LHS, SDValue &RHS, ISD::CondCode &CC) { argument 474 std::swap(LHS, RHS); 482 SDValue LHS = Op.getOperand(2); local 487 NegateCC(LHS, RHS, CC); 489 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS, 494 SDValue LHS = Op.getOperand(0); local 501 NegateCC(LHS, RHS, CC); 506 SDValue Ops[] = {LHS, RHS, TargetCC, TrueV, FalseV}; 575 unsigned LHS = MI->getOperand(1).getReg(); local 581 .addReg(LHS) [all...] |
/external/mesa3d/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...] |
/external/llvm/lib/IR/ |
H A D | Core.cpp | 2277 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 2279 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name)); 2282 LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 2284 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); 2287 LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 2289 return wrap(unwrap(B)->CreateNUWAdd(unwrap(LHS), unwrap(RHS), Name)); 2292 LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 2294 return wrap(unwrap(B)->CreateFAdd(unwrap(LHS), unwrap(RHS), Name)); 2297 LLVMValueRef LLVMBuildSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument 2299 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwra 2302 LLVMBuildNSWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2307 LLVMBuildNUWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2312 LLVMBuildFSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2317 LLVMBuildMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2322 LLVMBuildNSWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2327 LLVMBuildNUWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2332 LLVMBuildFMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2337 LLVMBuildUDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2342 LLVMBuildSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2347 LLVMBuildExactSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2352 LLVMBuildFDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2357 LLVMBuildURem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2362 LLVMBuildSRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2367 LLVMBuildFRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2372 LLVMBuildShl(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2377 LLVMBuildLShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2382 LLVMBuildAShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2387 LLVMBuildAnd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2392 LLVMBuildOr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2397 LLVMBuildXor(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2402 LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2657 LLVMBuildICmp(LLVMBuilderRef B, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2664 LLVMBuildFCmp(LLVMBuilderRef B, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument 2739 LLVMBuildPtrDiff(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument [all...] |
H A D | LLVMContextImpl.h | 63 static bool isEqual(const APInt &LHS, const APInt &RHS) { argument 64 return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS; 74 static bool isEqual(const APFloat &LHS, const APFloat &RHS) { argument 75 return LHS.bitwiseIsEqual(RHS); 112 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { argument 115 return LHS == KeyTy(RHS); 117 static bool isEqual(const StructType *LHS, const StructType *RHS) { argument 118 return LHS == RHS; 160 static bool isEqual(const KeyTy& LHS, cons argument 165 isEqual(const FunctionType *LHS, const FunctionType *RHS) argument 842 isEqual(const KeyTy &LHS, const NodeTy *RHS) argument 847 isEqual(const NodeTy *LHS, const NodeTy *RHS) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
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 146 operator ()(XorOpnd * const &LHS, XorOpnd * const &RHS) argument 338 Value *LHS = I->getOperand(0); local 418 IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) argument [all...] |
/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 51 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 54 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS, 89 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, argument 91 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS), 96 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, argument 100 return new (C) BinaryOperator(const_cast<Expr*>(LHS),
|
/external/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 177 SourceLocation LHS = getLoc(L); local 179 return SM.isBeforeInTranslationUnit(LHS, RHS); 183 SourceLocation LHS = getLoc(L); local 184 return SM.isBeforeInTranslationUnit(LHS, RHS); 187 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { argument 189 return SM.isBeforeInTranslationUnit(LHS, RHS);
|
/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 108 Expr *LHS = ce->getLHS(), *RHS = ce->getRHS(); local 109 Expr *&rebuiltExpr = ce->isConditionTrue() ? LHS : RHS; 114 LHS, RHS, 223 Expr *LHS, Expr *RHS); 279 Expr *LHS, Expr *RHS); 319 Expr *LHS, Expr *RHS); 407 Expr *LHS, Expr *RHS) { 414 Expr *syntacticLHS = rebuildAndCaptureObject(LHS); 867 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 975 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 1540 checkPseudoObjectAssignment(Scope *S, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument [all...] |
/external/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 500 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local 502 if (!isa<Constant>(LHS)) 503 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) 504 LHS = SimpleLHS; 508 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { 523 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); 529 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); 570 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local 573 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); 579 Constant *CLHS = ConstantInt::get(LHS 595 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local [all...] |
/external/clang/include/clang/AST/ |
H A D | CharUnits.h | 210 static bool isEqual(const clang::CharUnits &LHS, argument 212 return LHS == RHS;
|
/external/clang/include/clang/Tooling/Core/ |
H A D | Replacement.h | 129 bool operator<(const Replacement &LHS, const Replacement &RHS); 132 bool operator==(const Replacement &LHS, const Replacement &RHS);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DebugCheckers.cpp | 164 static int compareEntry(const Table::MapEntryTy *const *LHS, argument 166 return (*LHS)->getKey().compare((*RHS)->getKey());
|
/external/llvm/include/llvm/ADT/ |
H A D | ilist.h | 252 bool operator!=(const T* LHS, const ilist_iterator<const T> &RHS) { argument 253 return LHS != RHS.getNodePtrUnchecked(); 256 bool operator==(const T* LHS, const ilist_iterator<const T> &RHS) { argument 257 return LHS == RHS.getNodePtrUnchecked(); 260 bool operator!=(T* LHS, const ilist_iterator<T> &RHS) { argument 261 return LHS != RHS.getNodePtrUnchecked(); 264 bool operator==(T* LHS, const ilist_iterator<T> &RHS) { argument 265 return LHS == RHS.getNodePtrUnchecked();
|
H A D | ArrayRef.h | 329 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument 330 return LHS.equals(RHS); 334 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument 335 return !(LHS == RHS);
|
/external/llvm/lib/Support/ |
H A D | TargetRegistry.cpp | 118 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, argument 120 return LHS->first.compare(RHS->first);
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 771 GenericValue LHS = getConstantValue(Op0); local 779 case Instruction::Add: GV.IntVal = LHS.IntVal + RHS.IntVal; break; 780 case Instruction::Sub: GV.IntVal = LHS.IntVal - RHS.IntVal; break; 781 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break; 782 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break; 783 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break; 784 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break; 785 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; 786 case Instruction::And: GV.IntVal = LHS.IntVal & RHS.IntVal; break; 787 case Instruction::Or: GV.IntVal = LHS [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.h | 42 const SymExpr *LHS,
|