/external/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 246 const PreambleFileHash &RHS); 249 const PreambleFileHash &RHS) { 250 return !(LHS == RHS); 248 operator !=(const PreambleFileHash &LHS, const PreambleFileHash &RHS) argument
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SymbolManager.h | 370 const llvm::APSInt& RHS; member in class:clang::ento::SymIntExpr 375 : BinarySymExpr(SymIntKind, op, t), LHS(lhs), RHS(rhs) {} 380 const llvm::APSInt &getRHS() const { return RHS; } 393 Profile(ID, LHS, getOpcode(), RHS, getType()); 405 const SymExpr *RHS; member in class:clang::ento::IntSymExpr 410 : BinarySymExpr(IntSymKind, op, t), LHS(lhs), RHS(rhs) {} 414 const SymExpr *getRHS() const { return RHS; } 428 Profile(ID, LHS, getOpcode(), RHS, getType()); 440 const SymExpr *RHS; member in class:clang::ento::SymSymExpr 445 : BinarySymExpr(SymSymKind, op, t), LHS(lhs), RHS(rh [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 81 RangeComparison compareWith(const CharRange &RHS) const { 82 if (End.isBeforeInTranslationUnitThan(RHS.Begin)) 84 if (RHS.End.isBeforeInTranslationUnitThan(Begin)) 86 if (!Begin.isBeforeInTranslationUnitThan(RHS.Begin) && 87 !RHS.End.isBeforeInTranslationUnitThan(End)) 89 if (Begin.isBeforeInTranslationUnitThan(RHS.Begin) && 90 RHS.End.isBeforeInTranslationUnitThan(End)) 92 if (Begin.isBeforeInTranslationUnitThan(RHS.Begin)) 98 static RangeComparison compare(SourceRange LHS, SourceRange RHS, argument 101 .compareWith(CharRange(CharSourceRange::getTokenRange(RHS), [all...] |
/external/clang/lib/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 284 const Expr *RHS = BO->getRHS(); local 286 til::SExpr *E1 = translate(RHS, Ctx);
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 670 static int MacroIDCompare(const id_macro_pair *LHS, const id_macro_pair *RHS) { argument 671 return LHS->first->getName().compare(RHS->first->getName());
|
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 259 // In particular, the RHS of the '?' is 'expression', not 311 // Parse another leaf here for the RHS of the operator. 312 // ParseCastExpression works here because all RHS expressions in C have it 318 // braced-init-list on the RHS of an assignment. For better diagnostics, 320 // they only appear on the RHS of assignments later. 321 ExprResult RHS; local 324 RHS = ParseBraceInitializer(); 327 RHS = ParseAssignmentExpression(); 329 RHS = ParseCastExpression(false); 331 if (RHS [all...] |
H A D | ParseStmt.cpp | 661 ExprResult RHS; local 664 RHS = ParseConstantExpression(); 665 if (RHS.isInvalid()) { 693 RHS.get(), ColonLoc);
|
/external/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 25 // [expr setProp: RHS] 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) { 411 OpaqueValueExpr *capturedRHS = capture(RHS); 863 Expr *LHS, Expr *RHS) { 860 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 968 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 1536 checkPseudoObjectAssignment(Scope *S, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ProgramState.cpp | 55 ProgramState::ProgramState(const ProgramState &RHS) argument 57 stateMgr(RHS.stateMgr), 58 Env(RHS.Env), 59 store(RHS.store), 60 GDM(RHS.GDM),
|
/external/clang/test/SemaCXX/ |
H A D | overloaded-operator.cpp | 406 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}} argument 407 return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::StringRef' and 'rdar9222009::StringRef')}}
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 126 ExprAST *LHS, *RHS; member in class:__anon25453::BinaryExprAST 129 : Op(op), LHS(lhs), RHS(rhs) {} 377 ExprAST *RHS = ParsePrimary(); local 378 if (!RHS) return 0; 380 // If BinOp binds less tightly with RHS than the operator after RHS, let 381 // the pending operator take RHS as its LHS. 384 RHS = ParseBinOpRHS(TokPrec+1, RHS); 385 if (RHS [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 141 ExprAST *LHS, *RHS; member in class:__anon25454::BinaryExprAST 144 : Op(op), LHS(lhs), RHS(rhs) {} 421 ExprAST *RHS = ParseUnary(); local 422 if (!RHS) return 0; 424 // If BinOp binds less tightly with RHS than the operator after RHS, let 425 // the pending operator take RHS as its LHS. 428 RHS = ParseBinOpRHS(TokPrec+1, RHS); 429 if (RHS [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | DenseMap.h | 325 void swap(DenseMapBase& RHS) { argument 326 std::swap(getNumEntries(), RHS.getNumEntries()); 327 std::swap(getNumTombstones(), RHS.getNumTombstones()); 569 void swap(DenseMap& RHS) { argument 570 std::swap(Buckets, RHS.Buckets); 571 std::swap(NumEntries, RHS.NumEntries); 572 std::swap(NumTombstones, RHS.NumTombstones); 573 std::swap(NumBuckets, RHS.NumBuckets); 729 void swap(SmallDenseMap& RHS) { argument 730 unsigned TmpNumEntries = RHS [all...] |
H A D | ilist.h | 183 ilist_iterator(const ilist_iterator<node_ty> &RHS) argument 184 : NodePtr(RHS.getNodePtrUnchecked()) {} 189 const ilist_iterator &operator=(const ilist_iterator<node_ty> &RHS) { argument 190 NodePtr = RHS.getNodePtrUnchecked(); 205 bool operator==(const ilist_iterator &RHS) const { 206 return NodePtr == RHS.NodePtr; 208 bool operator!=(const ilist_iterator &RHS) const { 209 return NodePtr != RHS.NodePtr; 252 bool operator!=(const T* LHS, const ilist_iterator<const T> &RHS) { argument 253 return LHS != RHS 256 operator ==(const T* LHS, const ilist_iterator<const T> &RHS) argument 260 operator !=(T* LHS, const ilist_iterator<T> &RHS) argument 264 operator ==(T* LHS, const ilist_iterator<T> &RHS) argument 407 swap(iplist &RHS) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 684 SDValue getSetCC(SDLoc DL, EVT VT, SDValue LHS, SDValue RHS, argument 686 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() && 692 return getNode(ISD::SETCC, DL, VT, LHS, RHS, getCondCode(Cond)); 698 SDValue LHS, SDValue RHS) { 699 assert(LHS.getValueType() == RHS.getValueType() && 704 Cond, LHS, RHS); 710 SDValue getSelectCC(SDLoc DL, SDValue LHS, SDValue RHS, argument 713 LHS, RHS, True, False, getCondCode(Cond)); 697 getSelect(SDLoc DL, EVT VT, SDValue Cond, SDValue LHS, SDValue RHS) argument
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1180 Constant *RHS = local 1185 Constant *Ops[] = { LHS, RHS };
|
H A D | LazyValueInfo.cpp | 192 bool mergeIn(const LVILatticeVal &RHS) { argument 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 [all...] |
/external/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 497 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local 502 if (!isa<Constant>(RHS)) 503 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) 504 RHS = SimpleRHS; 506 if (Constant *CRHS = dyn_cast<Constant>(RHS)) 522 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); 527 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); 567 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local 572 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); 577 Constant *CRHS = ConstantInt::get(RHS 592 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeFloatTypes.cpp | 183 SDValue RHS = BitConvertToInteger(N->getOperand(1)); local 187 EVT RVT = RHS.getValueType(); 196 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); 545 SDValue RHS = GetSoftenedFloat(N->getOperand(2)); local 547 LHS.getValueType(), N->getOperand(0), LHS, RHS); 552 SDValue RHS = GetSoftenedFloat(N->getOperand(3)); local 555 N->getOperand(1), LHS, RHS, N->getOperand(4));
|
H A D | LegalizeVectorOps.cpp | 942 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1), CC = Op.getOperand(2); local 949 SDValue RHSElem = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, TmpEltVT, RHS,
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 773 GenericValue RHS = getConstantValue(CE->getOperand(1)); local 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 [all...] |
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 224 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); local 225 if (!RHS) 229 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) 236 return ConstantExpr::getOr(LHS, RHS); 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); local 240 if (!RHS) 244 if (RHS->isNullValue()) 245 return RHS; 250 return ConstantExpr::getAnd(LHS, RHS); 951 // Handle simplifications when the RHS i 1157 Constant *RHS = local [all...] |
H A D | ConstantsContext.h | 248 unsigned short pred, Constant* LHS, Constant* RHS) 251 Op<1>() = RHS; 665 static bool isEqual(const ConstantClass *LHS, const ConstantClass *RHS) { argument 666 return LHS == RHS; 672 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) { argument 673 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) 675 if (LHS.first != RHS->getType() 676 || LHS.second.size() != RHS->getNumOperands()) 678 for (unsigned I = 0, E = RHS 247 CompareConstantExpr(Type *ty, Instruction::OtherOps opc, unsigned short pred, Constant* LHS, Constant* RHS) argument [all...] |
H A D | LLVMContextImpl.h | 67 static bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { argument 68 return LHS == RHS; 95 static bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { argument 96 return LHS == RHS; 134 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { argument 135 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) 137 return LHS == KeyTy(RHS); 139 static bool isEqual(const StructType *LHS, const StructType *RHS) { argument 140 return LHS == RHS; 183 isEqual(const KeyTy& LHS, const FunctionType *RHS) argument 188 isEqual(const FunctionType *LHS, const FunctionType *RHS) argument [all...] |
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 811 static SDValue EmitCMP(SDValue &LHS, SDValue &RHS, SDValue &TargetCC, argument 826 std::swap(LHS, RHS); 833 std::swap(LHS, RHS); 836 std::swap(LHS, RHS); // FALLTHROUGH 841 LHS = RHS; 842 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); 849 std::swap(LHS, RHS); // FALLTHROUGH 854 LHS = RHS; 855 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); 862 std::swap(LHS, RHS); // FALLTHROUG 898 SDValue RHS = Op.getOperand(3); local 911 SDValue RHS = Op.getOperand(1); local 992 SDValue RHS = Op.getOperand(1); local [all...] |