/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
genk-timing.py | 100 self.writeComment("and just returns the RHS.") 119 def writeRandomOperation(self, LValue, LHS, RHS): 124 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS)) 131 self.writeln(" if %s < %s then" % (LHS, RHS)) 132 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS)) 133 self.writeln(" else if %s < %s then" % (RHS, LHS)) 134 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS)) 138 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
genk-timing.py | 95 self.writeComment("and just returns the RHS.") 114 def writeRandomOperation(self, LValue, LHS, RHS): 119 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS)) 126 self.writeln(" if %s < %s then" % (LHS, RHS)) 127 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS)) 128 self.writeln(" else if %s < %s then" % (RHS, LHS)) 129 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS)) 133 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
|
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 192 bool mergeIn(const LVILatticeVal &RHS) { 193 if (RHS.isUndefined() || isOverdefined()) return false; 194 if (RHS.isOverdefined()) return markOverdefined(); 197 Tag = RHS.Tag; 198 Val = RHS.Val; 199 Range = RHS.Range; 204 if (RHS.isConstant()) { 205 if (Val == RHS.Val) 210 if (RHS.isNotConstant()) { 211 if (Val == RHS.Val [all...] |
ScalarEvolution.cpp | 455 /// than the complexity of the RHS. This comparator is used to canonicalize 462 // Return true or false if LHS is less than, or at least RHS, respectively. 463 bool operator()(const SCEV *LHS, const SCEV *RHS) const { 464 return compare(LHS, RHS) < 0; 468 // greater than RHS, respectively. A three-way result allows recursive 470 int compare(const SCEV *LHS, const SCEV *RHS) const { 472 if (LHS == RHS) 476 unsigned LType = LHS->getSCEVType(), RType = RHS->getSCEVType(); 486 const SCEVUnknown *RU = cast<SCEVUnknown>(RHS); 538 const SCEVConstant *RC = cast<SCEVConstant>(RHS); [all...] |
/external/llvm/lib/MC/ |
MCExpr.cpp | 138 const MCExpr *RHS, MCContext &Ctx) { 139 return new (Ctx) MCBinaryExpr(Opc, LHS, RHS); 560 /// from two MCValue's LHS and RHS where 561 /// Result = LHS + RHS 747 // Negate RHS and add. 764 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); 767 case MCBinaryExpr::Add: Result = LHS + RHS; break; 768 case MCBinaryExpr::And: Result = LHS & RHS; break; 769 case MCBinaryExpr::Div: Result = LHS / RHS; break; 770 case MCBinaryExpr::EQ: Result = LHS == RHS; break [all...] |
/external/clang/lib/AST/ |
DeclarationName.cpp | 80 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { 81 if (LHS.getNameKind() != RHS.getNameKind()) 82 return (LHS.getNameKind() < RHS.getNameKind() ? -1 : 1); 87 IdentifierInfo *RII = RHS.getAsIdentifierInfo(); 98 Selector RHSSelector = RHS.getObjCSelector(); 115 if (QualTypeOrdering()(LHS.getCXXNameType(), RHS.getCXXNameType())) 117 if (QualTypeOrdering()(RHS.getCXXNameType(), LHS.getCXXNameType())) 123 RHS.getCXXOverloadedOperator()); 127 RHS.getCXXLiteralIdentifier()->getName());
|
/external/clang/lib/Index/ |
CommentToXML.cpp | 34 const ParamCommandComment *RHS) const { 44 if (RHS->isParamIndexValid()) { 45 if (RHS->isVarArgParam()) 48 RHSIndex = RHS->getParamIndex(); 61 const TParamCommandComment *RHS) const { 65 if (!RHS->isPositionValid()) 70 if (RHS->getDepth() > 1) 74 if (LHS->getDepth() == 1 && RHS->getDepth() == 1) 75 return LHS->getIndex(0) < RHS->getIndex(0); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 117 ExprAST *LHS, *RHS; 119 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 120 : Op(op), LHS(lhs), RHS(rhs) {} 276 ExprAST *RHS = ParsePrimary(); 277 if (!RHS) return 0; 279 // If BinOp binds less tightly with RHS than the operator after RHS, let 280 // the pending operator take RHS as its LHS. 283 RHS = ParseBinOpRHS(TokPrec+1, RHS) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleSValBuilder.cpp | 37 NonLoc lhs, NonLoc rhs, QualType resultTy) override; 39 Loc lhs, Loc rhs, QualType resultTy) override; 41 Loc lhs, NonLoc rhs, QualType resultTy) override; 48 const llvm::APSInt &RHS, QualType resultTy); 211 const llvm::APSInt &RHS, 222 if (RHS == 0) 224 else if (RHS == 1) 229 if (RHS == 0) 232 else if (RHS == 1) 237 if (RHS == 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600ISelLowering.cpp | 337 SDValue RHS = Op.getOperand(3); 345 LHS, RHS, 393 SDValue RHS = Op.getOperand(1); 400 // LHS and RHS are guaranteed to be the same value type 404 // necessary we need to convert LHS and RHS to be the same type True and 422 // XXX Check the value of LHS and RHS and avoid creating sequences like 425 RHS = DAG.getNode(ConversionOp, DL, VT, RHS); 431 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC); 444 if (isZero(LHS) || isZero(RHS)) { [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SymbolManager.h | 370 const llvm::APSInt& RHS; 374 const llvm::APSInt& rhs, QualType t) 375 : BinarySymExpr(SymIntKind, op, t), LHS(lhs), RHS(rhs) {} 380 const llvm::APSInt &getRHS() const { return RHS; } 383 BinaryOperator::Opcode op, const llvm::APSInt& rhs, 388 ID.AddPointer(&rhs); 393 Profile(ID, LHS, getOpcode(), RHS, getType()); 405 const SymExpr *RHS; 409 const SymExpr *rhs, QualType t [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
R600ISelLowering.cpp | 337 SDValue RHS = Op.getOperand(3); 345 LHS, RHS, 393 SDValue RHS = Op.getOperand(1); 400 // LHS and RHS are guaranteed to be the same value type 404 // necessary we need to convert LHS and RHS to be the same type True and 422 // XXX Check the value of LHS and RHS and avoid creating sequences like 425 RHS = DAG.getNode(ConversionOp, DL, VT, RHS); 431 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC); 444 if (isZero(LHS) || isZero(RHS)) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/include/cloog/ |
clast.h | 53 cloog_int_t RHS; 83 struct clast_expr * RHS; 115 struct clast_expr * RHS; 136 struct clast_expr *lhs, cloog_int_t rhs); 140 struct clast_expr *rhs);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/cloog/ |
clast.h | 53 cloog_int_t RHS; 83 struct clast_expr * RHS; 115 struct clast_expr * RHS; 136 struct clast_expr *lhs, cloog_int_t rhs); 140 struct clast_expr *rhs);
|
/external/clang/lib/CodeGen/ |
CGExprComplex.cpp | 215 ComplexPairTy RHS; 530 ResR = Builder.CreateFAdd(Op.LHS.first, Op.RHS.first, "add.r"); 531 ResI = Builder.CreateFAdd(Op.LHS.second, Op.RHS.second, "add.i"); 533 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); 534 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); 542 ResR = Builder.CreateFSub(Op.LHS.first, Op.RHS.first, "sub.r"); 543 ResI = Builder.CreateFSub(Op.LHS.second, Op.RHS.second, "sub.i"); 545 ResR = Builder.CreateSub(Op.LHS.first, Op.RHS.first, "sub.r"); 546 ResI = Builder.CreateSub(Op.LHS.second, Op.RHS.second, "sub.i"); 557 Value *ResRl = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul.rl") [all...] |
/external/llvm/include/llvm/IR/ |
Attributes.h | 328 bool operator==(const AttributeSet &RHS) const { 329 return pImpl == RHS.pImpl; 331 bool operator!=(const AttributeSet &RHS) const { 332 return pImpl != RHS.pImpl; 384 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 83 const Expr *RHS = B->getRHS(); 92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { 93 Sr[0] = RHS->getSourceRange(); 100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { 101 Sr[0] = RHS->getSourceRange(); 206 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); 209 const DeclRefExpr *DeclRef2 = dyn_cast<DeclRefExpr>(RHS); 211 const FloatingLiteral *FloatLit2 = dyn_cast<FloatingLiteral>(RHS); 230 // Here only LHS is checked since RHS will be implicit casted to float.
|
/external/llvm/include/llvm/ADT/ |
DenseSet.h | 57 void swap(DenseSet& RHS) { 58 TheMap.swap(RHS.TheMap);
|
ScopedHashTable.h | 127 bool operator==(const ScopedHashTableIterator &RHS) const { 128 return Node == RHS.Node; 130 bool operator!=(const ScopedHashTableIterator &RHS) const { 131 return Node != RHS.Node;
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachORelocationInfo.cpp | 99 const MCExpr *RHS = MCSymbolRefExpr::Create(RSym, Ctx); 101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
|
/external/clang/lib/Driver/ |
ToolChains.h | 64 bool operator<(const GCCVersion &RHS) const { 65 return isOlderThan(RHS.Major, RHS.Minor, RHS.Patch, RHS.PatchSuffix); 67 bool operator>(const GCCVersion &RHS) const { return RHS < *this; } 68 bool operator<=(const GCCVersion &RHS) const { return !(*this > RHS); } 69 bool operator>=(const GCCVersion &RHS) const { return !(*this < RHS); [all...] |
/external/llvm/include/llvm/Support/ |
FileSystem.h | 729 bool operator==(const directory_entry& rhs) const { return Path == rhs.Path; } 730 bool operator!=(const directory_entry& rhs) const { return !(*this == rhs); } 731 bool operator< (const directory_entry& rhs) const; 732 bool operator<=(const directory_entry& rhs) const; 733 bool operator> (const directory_entry& rhs) const; 734 bool operator>=(const directory_entry& rhs) const; 790 bool operator==(const directory_iterator &RHS) const { 791 if (State == RHS.State [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
CheckedArithmetic.h | 230 template <typename LHS, typename RHS, typename ResultType = typename Result<LHS, RHS>::ResultType, 231 bool lhsSigned = std::numeric_limits<LHS>::is_signed, bool rhsSigned = std::numeric_limits<RHS>::is_signed> struct ArithmeticOperations; 233 template <typename LHS, typename RHS, typename ResultType> struct ArithmeticOperations<LHS, RHS, ResultType, true, true> { 234 // LHS and RHS are signed types 237 static inline bool signsMatch(LHS lhs, RHS rhs) 239 return (lhs ^ rhs) >= 0; 242 static inline bool add(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETUR [all...] |
/external/clang/include/clang/Sema/ |
Ownership.h | 168 const ActionResult &operator=(PtrTy RHS) { 169 Val = RHS; 214 const ActionResult &operator=(PtrTy RHS) { 215 void *VP = PtrTraits::getAsVoidPointer(RHS);
|
/external/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 66 Constant *LHS, Constant *RHS,
|