/external/llvm/lib/CodeGen/ |
H A D | MachineModuleInfoImpls.cpp | 27 static int SortSymbolPair(const void *LHS, const void *RHS) { argument 29 const MCSymbol *LHSS = ((const PairTy *)LHS)->first;
|
H A D | LatencyPriorityQueue.cpp | 23 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument 27 if (LHS->isScheduleHigh && !RHS->isScheduleHigh) 29 if (!LHS->isScheduleHigh && RHS->isScheduleHigh) 32 unsigned LHSNum = LHS->NodeNum;
|
/external/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 53 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { argument 54 return LHS == RHS; 73 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) { argument 74 return LHS == RHS;
|
H A D | BaseSubobject.h | 46 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { argument 47 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset; 74 static bool isEqual(const clang::BaseSubobject &LHS, argument 76 return LHS == RHS;
|
/external/clang/lib/Analysis/ |
H A D | ThreadSafetyLogical.cpp | 19 // to keep track of whether LHS and RHS are negated. 20 static bool implies(const LExpr *LHS, bool LNeg, const LExpr *RHS, bool RNeg) { argument 29 return implies(LHS, LNeg, A->left(), RNeg) && 30 implies(LHS, LNeg, A->right(), RNeg); 39 return implies(LHS, LNeg, A->left(), RNeg) || 40 implies(LHS, LNeg, A->right(), RNeg); 61 // to return !implies(LHS, RHS). 62 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg); 69 switch (LHS->kind()) { 75 return LNeg ? LeftAndOperator(cast<And>(LHS)) 106 implies(const LExpr *LHS, const LExpr *RHS) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | warn-self-assign.cpp | 21 #define LHS a macro 26 LHS = a; 28 LHS OP RHS; 30 #undef LHS macro
|
/external/llvm/include/llvm/MC/ |
H A D | MCTargetOptions.h | 46 inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument 47 #define ARE_EQUAL(X) LHS.X == RHS.X 62 inline bool operator!=(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument 63 return !(LHS == RHS);
|
H A D | YAML.h | 49 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS); 79 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) { argument 81 if (LHS.Data.empty() && RHS.Data.empty()) 84 return LHS.DataIsHexString == RHS.DataIsHexString && LHS.Data == RHS.Data;
|
H A D | MachineLocation.h | 77 inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) { argument 78 return !(LHS == RHS);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument 77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); 85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
|
/external/llvm/unittests/ADT/ |
H A D | DenseSetTest.cpp | 37 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument 38 return LHS == RHS; 40 static bool isEqual(const char* LHS, const unsigned& RHS) { argument 41 return (unsigned)(LHS[0] - 'a') == RHS;
|
/external/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 27 //static bool isEqual(const T &LHS, const T &RHS); 47 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } argument 55 static bool isEqual(const char &LHS, const char &RHS) { argument 56 return LHS == RHS; 65 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument 66 return LHS == RHS; 77 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { argument 78 return LHS == RHS; 89 static bool isEqual(const unsigned long long& LHS, argument 100 isEqual(const int& LHS, const int& RHS) argument 114 isEqual(const long& LHS, const long& RHS) argument 126 isEqual(const long long& LHS, const long long& RHS) argument 160 isEqual(const Pair &LHS, const Pair &RHS) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | LineIterator.h | 73 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) { argument 74 return LHS.Buffer == RHS.Buffer && 75 LHS.CurrentLine.begin() == RHS.CurrentLine.begin(); 78 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) { argument 79 return !(LHS == RHS);
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 65 static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) { argument 66 return RemapFlags(unsigned(LHS)|unsigned(RHS));
|
/external/llvm/lib/Support/ |
H A D | DeltaAlgorithm.cpp | 32 changeset_ty LHS, RHS; local 36 ((idx < N) ? LHS : RHS).insert(*it); 37 if (!LHS.empty()) 38 Res.push_back(LHS);
|
H A D | StringRef.cpp | 41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument 43 unsigned char LHC = ascii_tolower(LHS[I]);
|
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/Target/X86/MCTargetDesc/ |
H A D | X86MachORelocationInfo.cpp | 87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); variable 101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyLogical.h | 56 LExpr *LHS, *RHS; member in class:clang::threadSafety::lexpr::BinOp 59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} argument 62 const LExpr *left() const { return LHS; } 63 LExpr *left() { return LHS; } 71 And(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::And) {} argument 78 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RH argument [all...] |
/external/clang/include/clang/Edit/ |
H A D | FileOffset.h | 37 friend bool operator==(FileOffset LHS, FileOffset RHS) { argument 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 40 friend bool operator!=(FileOffset LHS, FileOffset RHS) { argument 41 return !(LHS == RHS); 43 friend bool operator<(FileOffset LHS, FileOffset RHS) { argument 44 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs); 46 friend bool operator>(FileOffset LHS, FileOffset RHS) { argument 47 return RHS < LHS; 49 operator >=(FileOffset LHS, FileOffset RHS) argument 52 operator <=(FileOffset LHS, FileOffset RHS) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | PPConditionalDirectiveRecord.h | 46 bool operator()(const CondDirectiveLoc &LHS, argument 48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); 50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { argument 51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); 53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { argument 54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); 80 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, argument 82 return findConditionalDirectiveRegionLoc(LHS) !=
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | JITSymbolFlags.h | 28 inline JITSymbolFlags operator|(JITSymbolFlags LHS, JITSymbolFlags RHS) { argument 31 static_cast<UT>(LHS) | static_cast<UT>(RHS)); 34 inline JITSymbolFlags& operator |=(JITSymbolFlags &LHS, JITSymbolFlags RHS) { argument 35 LHS = LHS | RHS; 36 return LHS; 39 inline JITSymbolFlags operator&(JITSymbolFlags LHS, JITSymbolFlags RHS) { argument 42 static_cast<UT>(LHS) & static_cast<UT>(RHS)); 45 inline JITSymbolFlags& operator &=(JITSymbolFlags &LHS, JITSymbolFlags RHS) { argument 46 LHS [all...] |
/external/llvm/lib/MC/MCDisassembler/ |
H A D | MCExternalSymbolizer.cpp | 114 const MCExpr *LHS; local 116 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx); 118 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx); 120 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); 122 Expr = LHS;
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64ExternalSymbolizer.cpp | 196 const MCExpr *LHS; local 198 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx); 200 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx); 202 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); 204 Expr = LHS;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 125 // A helper function for tryReassociateAdd. LHS and RHS are explicitly passed. 126 Instruction *tryReassociateAdd(Value *LHS, Value *RHS, Instruction *I); 127 // Rewrites I to LHS + RHS if LHS is computed already. 128 Instruction *tryReassociatedAdd(const SCEV *LHS, Value *RHS, Instruction *I); 202 Value *LHS = I->getOperand(0), *RHS = I->getOperand(1); local 203 if (auto *NewI = tryReassociateAdd(LHS, RHS, I)) 205 if (auto *NewI = tryReassociateAdd(RHS, LHS, I)) 210 Instruction *NaryReassociate::tryReassociateAdd(Value *LHS, Value *RHS, argument 214 if (LHS 243 Instruction *LHS = LHSCandidates.back(); local [all...] |