/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 126 ExprAST *LHS, *RHS; 128 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 129 : Op(op), LHS(lhs), RHS(rhs) {} 362 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { 370 return LHS; 381 // the pending operator take RHS as its LHS. 388 // Merge LHS/RHS. 389 LHS = new BinaryExprAST(BinOp, LHS, RHS) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 141 ExprAST *LHS, *RHS; 143 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 144 : Op(op), LHS(lhs), RHS(rhs) {} 406 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { 414 return LHS; 425 // the pending operator take RHS as its LHS. 432 // Merge LHS/RHS. 433 LHS = new BinaryExprAST(BinOp, LHS, RHS) [all...] |
/external/llvm/include/llvm/Option/ |
ArgList.h | 78 friend bool operator==(arg_iterator LHS, arg_iterator RHS) { 79 return LHS.Current == RHS.Current; 81 friend bool operator!=(arg_iterator LHS, arg_iterator RHS) { 82 return !(LHS == RHS); 290 /// \brief Create an arg string for (\p LHS + \p RHS), reusing the 292 const char *GetOrMakeJoinedArgString(unsigned Index, StringRef LHS,
|
/frameworks/native/include/private/ui/ |
RegionHelper.h | 40 static const uint32_t LHS = 0x5; // 0b101 43 op_nand = LHS & ~RHS, 44 op_and = LHS & RHS, 45 op_or = LHS | RHS, 46 op_xor = LHS ^ RHS 69 inline region_operator(int op, const region& lhs, const region& rhs) 70 : op_mask(op), spanner(lhs, rhs) 77 SpannerInner spannerInner(spanner.lhs, spanner.rhs); 161 region lhs; member in class:android::region_operator::Spanner 165 inline Spanner(const region& lhs, const region& rhs 222 region lhs; member in class:android::region_operator::SpannerInner [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 497 Instruction *LHS = dyn_cast<Instruction>(inst->getOperand(0)); 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 Shift: "; if (LHSShift) { LHSShift->dump(); } else { dbgs() << "(None)\n"; 867 BinaryOperator *lhs = local 909 BinaryOperator *lhs = local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 497 Instruction *LHS = dyn_cast<Instruction>(inst->getOperand(0)); 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 Shift: "; if (LHSShift) { LHSShift->dump(); } else { dbgs() << "(None)\n"; 867 BinaryOperator *lhs = local 909 BinaryOperator *lhs = local [all...] |
/external/llvm/lib/IR/ |
Core.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombine.h | 130 Value *OptimizePointerDifference(Value *LHS, Value *RHS, Type *Ty); 148 Value *FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS); 149 Value *FoldAndOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 151 Value *FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS); 152 Value *FoldOrOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 169 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHS, 249 bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS); 250 bool WillNotOverflowUnsignedAdd(Value *LHS, Value *RHS); 383 Value *FoldLogicalPlusAnd(Value *LHS, Value *RHS, ConstantInt *Mask,
|
InstructionCombining.cpp | 416 getBinOpsForFactorization(BinaryOperator *Op, Value *&LHS, Value *&RHS) { 424 LHS = Op->getOperand(0); 431 LHS = Op->getOperand(0); 449 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 467 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) 487 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) 488 V = Builder->CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); 506 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)) 526 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 527 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 50 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 53 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS, 88 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, 90 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS), 95 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, 99 return new (C) BinaryOperator(const_cast<Expr*>(LHS),
|
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 179 SourceLocation LHS = getLoc(L); 181 return SM.isBeforeInTranslationUnit(LHS, RHS); 185 SourceLocation LHS = getLoc(L); 186 return SM.isBeforeInTranslationUnit(LHS, RHS); 189 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { 191 return SM.isBeforeInTranslationUnit(LHS, RHS);
|
/external/clang/lib/Sema/ |
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(); 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) { 410 Expr *syntacticLHS = rebuildAndCaptureObject(LHS); 1613 Expr *lhs = stripOpaqueValuesFromPseudoObjectRef(*this, cop->getLHS()); local 1623 Expr *lhs = stripOpaqueValuesFromPseudoObjectRef(*this, bop->getLHS()); local [all...] |
/external/llvm/lib/Transforms/Utils/ |
LowerSwitch.cpp | 158 std::vector<CaseRange> LHS(Begin, Begin + Mid); 159 DEBUG(dbgs() << "LHS: " << LHS << "\n"); 177 // value in the LHS part of the case ranges. 184 CaseItr LastLHS = LHS.begin() + LHS.size() - 1; 188 DEBUG(dbgs() << "LHS Bounds ==> "; 203 BasicBlock *LBranch = switchConvert(LHS.begin(), LHS.end(), LowerBound,
|
/external/clang/lib/AST/ |
ASTContext.cpp | [all...] |
/external/clang/include/clang/AST/ |
CharUnits.h | 210 static bool isEqual(const clang::CharUnits &LHS, 212 return LHS == RHS;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DebugCheckers.cpp | 164 static int compareEntry(const Table::MapEntryTy *const *LHS, 166 return (*LHS)->getKey().compare((*RHS)->getKey());
|
/external/llvm/include/llvm/ADT/ |
ilist.h | 252 bool operator!=(const T* LHS, const ilist_iterator<const T> &RHS) { 253 return LHS != RHS.getNodePtrUnchecked(); 256 bool operator==(const T* LHS, const ilist_iterator<const T> &RHS) { 257 return LHS == RHS.getNodePtrUnchecked(); 260 bool operator!=(T* LHS, const ilist_iterator<T> &RHS) { 261 return LHS != RHS.getNodePtrUnchecked(); 264 bool operator==(T* LHS, const ilist_iterator<T> &RHS) { 265 return LHS == RHS.getNodePtrUnchecked();
|
/external/llvm/include/llvm/CodeGen/ |
SelectionDAGISel.h | 205 bool CheckAndMask(SDValue LHS, ConstantSDNode *RHS, 207 bool CheckOrMask(SDValue LHS, ConstantSDNode *RHS,
|
/external/llvm/lib/Support/ |
TargetRegistry.cpp | 119 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, 121 return LHS->first.compare(RHS->first);
|
/external/llvm/lib/Target/ |
TargetLibraryInfo.cpp | 700 /// Compare two strings and return true if LHS is lexicographically less than 702 bool operator()(const char *LHS, StringRef RHS) const { 703 // Compare prefixes with strncmp. If prefixes match we know that LHS is 705 return std::strncmp(LHS, RHS.data(), RHS.size()) < 0; 709 bool operator()(StringRef LHS, const char *RHS) const { return LHS < RHS; } 710 bool operator()(StringRef LHS, StringRef RHS) const { return LHS < RHS; } 711 bool operator()(const char *LHS, const char *RHS) const { 712 return std::strcmp(LHS, RHS) < 0 [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 772 GenericValue LHS = getConstantValue(Op0); 780 case Instruction::Add: GV.IntVal = LHS.IntVal + RHS.IntVal; break; 781 case Instruction::Sub: GV.IntVal = LHS.IntVal - RHS.IntVal; break; 782 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break; 783 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break; 784 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break; 785 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break; 786 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; 787 case Instruction::And: GV.IntVal = LHS.IntVal & RHS.IntVal; break; 788 case Instruction::Or: GV.IntVal = LHS.IntVal | RHS.IntVal; break [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleConstraintManager.h | 42 const SymExpr *LHS,
|
SimpleConstraintManager.cpp | 211 const SymExpr *LHS, 219 APSIntType WraparoundType = BVF.getAPSIntType(LHS->getType()); 228 SymbolRef Sym = LHS;
|
/external/llvm/include/llvm/IR/ |
ValueMap.h | 270 static bool isEqual(const VH &LHS, const VH &RHS) { 271 return LHS == RHS; 273 static bool isEqual(const KeyT &LHS, const VH &RHS) { 274 return LHS == RHS.getValPtr();
|
/external/llvm/lib/Analysis/IPA/ |
InlineCost.cpp | 497 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 499 if (!isa<Constant>(LHS)) 500 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) 501 LHS = SimpleLHS; 505 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { 520 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); 526 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); 567 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 570 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); 576 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset) [all...] |