/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 101 ExprAST *LHS, *RHS; member in class:BinaryExprAST 104 : Op(op), LHS(lhs), RHS(rhs) {} 240 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 248 return LHS; 259 // the pending operator take RHS as its LHS. 266 // Merge LHS/RHS. 267 LHS = new BinaryExprAST(BinOp, LHS, RHS); 275 ExprAST *LHS = ParsePrimary(); local 276 if (!LHS) retur [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 575 static bool isEqual(const AliasAnalysis::Location &LHS, argument 577 return LHS.Ptr == RHS.Ptr && 578 LHS.Size == RHS.Size && 579 LHS.TBAATag == RHS.TBAATag;
|
/external/llvm/include/llvm/IR/ |
H A D | Attributes.h | 373 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; } argument
|
/external/llvm/include/llvm/Option/ |
H A D | ArgList.h | 77 friend bool operator==(arg_iterator LHS, arg_iterator RHS) { argument 78 return LHS.Current == RHS.Current; 80 friend bool operator!=(arg_iterator LHS, arg_iterator RHS) { argument 81 return !(LHS == RHS); 270 /// \brief Create an arg string for (\p LHS + \p RHS), reusing the 272 const char *GetOrMakeJoinedArgString(unsigned Index, StringRef LHS,
|
/external/llvm/include/llvm/Support/ |
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 { argument 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { argument 51 return BinaryOperator::CreateNUWAdd(LHS, RHS); 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { argument 54 return BinaryOperator::CreateFAdd(LHS, RHS); 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, argument 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RH 63 CreateNSWSub(Constant *LHS, Constant *RHS) const argument 66 CreateNUWSub(Constant *LHS, Constant *RHS) const argument 69 CreateFSub(Constant *LHS, Constant *RHS) const argument 72 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 79 CreateNSWMul(Constant *LHS, Constant *RHS) const argument 82 CreateNUWMul(Constant *LHS, Constant *RHS) const argument 85 CreateFMul(Constant *LHS, Constant *RHS) const argument 88 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 94 CreateExactUDiv(Constant *LHS, Constant *RHS) const argument 97 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 103 CreateExactSDiv(Constant *LHS, Constant *RHS) const argument 106 CreateFDiv(Constant *LHS, Constant *RHS) const argument 109 CreateURem(Constant *LHS, Constant *RHS) const argument 112 CreateSRem(Constant *LHS, Constant *RHS) const argument 115 CreateFRem(Constant *LHS, Constant *RHS) 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 137 CreateAnd(Constant *LHS, Constant *RHS) const argument 140 CreateOr(Constant *LHS, Constant *RHS) const argument 143 CreateXor(Constant *LHS, Constant *RHS) const argument 147 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument 253 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument 257 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineSink.cpp | 105 bool operator()(const MachineBasicBlock *LHS, argument 107 return LI->getLoopDepth(LHS) < LI->getLoopDepth(RHS);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ResourcePriorityQueue.cpp | 182 bool resource_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument 186 if (LHS->isScheduleHigh && !RHS->isScheduleHigh) 189 if (!LHS->isScheduleHigh && RHS->isScheduleHigh) 192 unsigned LHSNum = LHS->NodeNum;
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFContext.cpp | 263 bool operator()(const DWARFCompileUnit &LHS, argument 265 return LHS.getOffset() < RHS.getOffset(); 267 bool operator()(const DWARFCompileUnit &LHS, uint32_t RHS) const { argument 268 return LHS.getOffset() < RHS; 270 bool operator()(uint32_t LHS, const DWARFCompileUnit &RHS) const { argument 271 return LHS < RHS.getOffset();
|
H A D | DWARFDebugLine.h | 94 static bool orderByAddress(const Row& LHS, const Row& RHS) { argument 95 return LHS.Address < RHS.Address; 155 static bool orderByLowPC(const Sequence& LHS, const Sequence& RHS) { argument 156 return LHS.LowPC < RHS.LowPC;
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 211 SDValue LHS = Node->getOperand(0), RHS = Node->getOperand(1); local 212 EVT VT = LHS.getValueType(); 217 return CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 185 SDValue LHS = Op.getOperand(0); local 192 !((LHS == True && RHS == False) || (LHS == False && RHS == True))) { 217 if (LHS == True) 218 return DAG.getNode(AMDGPUISD::FMIN, DL, VT, LHS, RHS); 220 return DAG.getNode(AMDGPUISD::FMAX, DL, VT, LHS, RHS); 228 if (LHS == True) 229 return DAG.getNode(AMDGPUISD::FMAX, DL, VT, LHS, RHS); 231 return DAG.getNode(AMDGPUISD::FMIN, DL, VT, LHS, RHS);
|
H A D | AMDILISelLowering.cpp | 284 // Only known if known in both the LHS and RHS 400 SDValue LHS = Op.getOperand(0); local 416 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); 427 // int ia = (int)LHS; 428 SDValue ia = DAG.getSExtOrTrunc(LHS, DL, INTTY); 481 SDValue LHS = Op.getOperand(0); local 484 // mov r0, LHS 497 // mov r0, LHS 498 SDValue r0 = LHS; 558 SDValue LHS local 575 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY); local 586 SDValue LHS = Op.getOperand(0); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 25 MatchSelectPattern(Value *V, Value *&LHS, Value *&RHS) { argument 32 LHS = ICI->getOperand(0); 606 Value *LHS = IC->getOperand(0); local 607 if (LHS->getType() != SI.getType() || 608 !match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) 642 Value *V = LHS; 861 Value *LHS, *RHS, *LHS2, *RHS2; 862 if (SelectPatternFlavor SPF = MatchSelectPattern(&SI, LHS, RHS)) { 863 if (SelectPatternFlavor SPF2 = MatchSelectPattern(LHS, LHS2, RHS2)) 864 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(LHS),SPF [all...] |
H A D | InstCombineSimplifyDemanded.cpp | 159 // If either the LHS or the RHS are Zero, the result is zero. 181 // If either the LHS or the RHS are One, the result is One. 235 // If either the LHS or the RHS are Zero, the result is zero. 261 // Output known-1 bits are only known if set in both the LHS & RHS. 263 // Output known-0 are known to be clear if zero in either the LHS | RHS. 267 // If either the LHS or the RHS are One, the result is One. 298 // Output known-0 bits are only known if clear in both the LHS & RHS. 300 // Output known-1 are known to be set if set in either the LHS | RHS. 348 // If our LHS is an 'and' and if it has one use, and if any of the bits we 372 // Output known-0 bits are known if clear or set in both the LHS 1240 Value *LHS = II->getArgOperand(0); local [all...] |
/external/clang/include/clang/AST/ |
H A D | DeclarationName.h | 283 friend bool operator==(DeclarationName LHS, DeclarationName RHS) { argument 284 return LHS.Ptr == RHS.Ptr; 288 friend bool operator!=(DeclarationName LHS, DeclarationName RHS) { argument 289 return LHS.Ptr != RHS.Ptr; 300 static int compare(DeclarationName LHS, DeclarationName RHS); 307 inline bool operator<(DeclarationName LHS, DeclarationName RHS) { argument 308 return DeclarationName::compare(LHS, RHS) < 0; 313 inline bool operator>(DeclarationName LHS, DeclarationName RHS) { argument 314 return DeclarationName::compare(LHS, RHS) > 0; 319 inline bool operator<=(DeclarationName LHS, DeclarationNam argument 325 operator >=(DeclarationName LHS, DeclarationName RHS) argument 582 isEqual(clang::DeclarationName LHS, clang::DeclarationName RHS) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 179 inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) { argument 180 return LHS.getRawEncoding() == RHS.getRawEncoding(); 183 inline bool operator!=(const SourceLocation &LHS, const SourceLocation &RHS) { argument 184 return !(LHS == RHS); 187 inline bool operator<(const SourceLocation &LHS, const SourceLocation &RHS) { argument 188 return LHS.getRawEncoding() < RHS.getRawEncoding(); 337 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) { argument 338 return LHS.getRawEncoding() == RHS.getRawEncoding() && 339 LHS.SrcMgr == RHS.SrcMgr; 343 operator!=(const FullSourceLoc &LHS, cons argument 413 isEqual(clang::FileID LHS, clang::FileID RHS) argument [all...] |
/external/clang/lib/Basic/ |
H A D | DiagnosticIDs.cpp | 534 static bool WarningOptionCompare(const WarningOption &LHS, argument 536 return LHS.getName() < RHS.getName();
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 584 const id_macro_pair *LHS = static_cast<const id_macro_pair*>(a); local 586 return LHS->first->getName().compare(RHS->first->getName());
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 26 Expr *LHS = B->getLHS()->IgnoreParens(); local 34 // With both the LHS and RHS evaluated, process the operation itself. 40 SVal LeftV = state->getSVal(LHS, LCtx); 53 // to the L-Value represented by the LHS. 55 evalStore(Tmp2, B, LHS, *it, state->BindExpr(B, LCtx, ExprVal), 76 LHS->getType()->isIntegerType() && LeftV.isUnknown()) { 77 LeftV = svalBuilder.conjureSymbolVal(LHS, LCtx, LHS->getType(), 112 // Perform a load (the LHS). This performs the checks for 116 evalLoad(Tmp, B, LHS, *i [all...] |
H A D | SimpleSValBuilder.cpp | 47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op, 210 SVal SimpleSValBuilder::MakeSymIntVal(const SymExpr *LHS, argument 272 // Wrap the LHS up in a NonLoc again and let evalCastFromNonLoc do the 275 return evalCastFromNonLoc(nonloc::SymbolVal(LHS), resultTy); 285 QualType SymbolType = LHS->getType(); 302 return makeNonLoc(LHS, op, *ConvertedRHS, resultTy); 427 // We only handle LHS as simple symbols or SymIntExprs. 430 // LHS is a symbolic expression. 478 // If both the LHS and the current expression are additive, 650 // This must come after the test if the LHS i [all...] |
/external/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 141 static bool beforeThanCompare(const Record *LHS, const Record *RHS) { argument 142 assert(!LHS->getLoc().empty() && !RHS->getLoc().empty()); 144 LHS->getLoc().front().getPointer() < RHS->getLoc().front().getPointer(); 147 static bool beforeThanCompareGroups(const GroupInfo *LHS, const GroupInfo *RHS){ argument 148 assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty()); 149 return beforeThanCompare(LHS->DiagsInGroup.front(),
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 109 ExprAST *LHS, *RHS; member in class:BinaryExprAST 112 : Op(op), LHS(lhs), RHS(rhs) {} 252 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 260 return LHS; 271 // the pending operator take RHS as its LHS. 278 // Merge LHS/RHS. 279 LHS = new BinaryExprAST(BinOp, LHS, RHS); 287 ExprAST *LHS = ParsePrimary(); local 288 if (!LHS) retur [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 116 ExprAST *LHS, *RHS; member in class:BinaryExprAST 119 : Op(op), LHS(lhs), RHS(rhs) {} 259 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument 267 return LHS; 278 // the pending operator take RHS as its LHS. 285 // Merge LHS/RHS. 286 LHS = new BinaryExprAST(BinOp, LHS, RHS); 294 ExprAST *LHS = ParsePrimary(); local 295 if (!LHS) retur [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | SmallBitVector.h | 544 operator&(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 545 SmallBitVector Result(LHS); 551 operator|(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 552 SmallBitVector Result(LHS); 558 operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument 559 SmallBitVector Result(LHS); 569 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) { argument 570 LHS.swap(RHS);
|
H A D | SmallVector.h | 930 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) { argument 931 LHS.swap(RHS); 937 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) { argument 938 LHS.swap(RHS);
|