Searched defs:RHS (Results 101 - 125 of 202) sorted by relevance

123456789

/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h323 const CondDirectiveLoc &RHS) {
324 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc());
326 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { argument
327 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS);
329 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { argument
330 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
575 SourceLocation RHS) const {
576 return findCondDirectiveIdx(LHS) != findCondDirectiveIdx(RHS);
322 operator ()(const CondDirectiveLoc &LHS, const CondDirectiveLoc &RHS) argument
/external/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h536 bool operator==(const CachedStmtCheckersKey &RHS) const {
537 return StmtKind == RHS.StmtKind && IsPreVisit == RHS.IsPreVisit;
617 clang::ento::CheckerManager::CachedStmtCheckersKey RHS) {
618 return LHS == RHS;
616 isEqual(clang::ento::CheckerManager::CachedStmtCheckersKey LHS, clang::ento::CheckerManager::CachedStmtCheckersKey RHS) argument
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h351 const llvm::APSInt& RHS; member in class:clang::ento::SymIntExpr
357 : SymExpr(SymIntKind), LHS(lhs), Op(op), RHS(rhs), T(t) {}
368 const llvm::APSInt &getRHS() const { return RHS; }
381 Profile(ID, LHS, Op, RHS, T);
394 const SymExpr *RHS; member in class:clang::ento::IntSymExpr
400 : SymExpr(IntSymKind), LHS(lhs), Op(op), RHS(rhs), T(t) {}
408 const SymExpr *getRHS() const { return RHS; }
422 Profile(ID, LHS, Op, RHS, T);
435 const SymExpr *RHS; member in class:clang::ento::SymSymExpr
441 : SymExpr(SymSymKind), LHS(lhs), Op(op), RHS(rh
[all...]
/external/clang/lib/ARCMigrate/
H A DTransformActions.cpp81 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/AST/
H A DDeclBase.cpp573 void Decl::swapAttrs(Decl *RHS) { argument
575 bool HasRHSAttr = RHS->HasAttrs;
582 return RHS->swapAttrs(this);
588 std::swap(Context.getDeclAttrs(this), Context.getDeclAttrs(RHS));
592 // Otherwise, LHS has an attr and RHS doesn't.
593 Context.getDeclAttrs(RHS) = Context.getDeclAttrs(this);
596 RHS->HasAttrs = true;
/external/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp55 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 Doverloaded-operator.cpp405 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}} argument
406 return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::StringRef' and 'rdar9222009::StringRef')}}
/external/clang/tools/libclang/
H A DIndexingContext.h550 clang::cxindex::RefFileOccurence RHS) {
551 return LHS.File == RHS.File && LHS.Dcl == RHS.Dcl;
549 isEqual(clang::cxindex::RefFileOccurence LHS, clang::cxindex::RefFileOccurence RHS) argument
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp125 ExprAST *LHS, *RHS; member in class:BinaryExprAST
128 : Op(op), LHS(lhs), RHS(rhs) {}
375 ExprAST *RHS = ParsePrimary(); local
376 if (!RHS) return 0;
378 // If BinOp binds less tightly with RHS than the operator after RHS, let
379 // the pending operator take RHS as its LHS.
382 RHS = ParseBinOpRHS(TokPrec+1, RHS);
383 if (RHS
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp140 ExprAST *LHS, *RHS; member in class:BinaryExprAST
143 : Op(op), LHS(lhs), RHS(rhs) {}
419 ExprAST *RHS = ParseUnary(); local
420 if (!RHS) return 0;
422 // If BinOp binds less tightly with RHS than the operator after RHS, let
423 // the pending operator take RHS as its LHS.
426 RHS = ParseBinOpRHS(TokPrec+1, RHS);
427 if (RHS
[all...]
/external/llvm/include/llvm/ADT/
H A DDenseMap.h308 void swap(DenseMapBase& RHS) { argument
309 std::swap(getNumEntries(), RHS.getNumEntries());
310 std::swap(getNumTombstones(), RHS.getNumTombstones());
556 void swap(DenseMap& RHS) { argument
557 std::swap(Buckets, RHS.Buckets);
558 std::swap(NumEntries, RHS.NumEntries);
559 std::swap(NumTombstones, RHS.NumTombstones);
560 std::swap(NumBuckets, RHS.NumBuckets);
720 void swap(SmallDenseMap& RHS) { argument
721 unsigned TmpNumEntries = RHS
[all...]
H A Dilist.h182 ilist_iterator(const ilist_iterator<node_ty> &RHS) argument
183 : NodePtr(RHS.getNodePtrUnchecked()) {}
188 const ilist_iterator &operator=(const ilist_iterator<node_ty> &RHS) { argument
189 NodePtr = RHS.getNodePtrUnchecked();
204 bool operator==(const ilist_iterator &RHS) const {
205 return NodePtr == RHS.NodePtr;
207 bool operator!=(const ilist_iterator &RHS) const {
208 return NodePtr != RHS.NodePtr;
251 bool operator!=(const T* LHS, const ilist_iterator<const T> &RHS) { argument
252 return LHS != RHS
255 operator ==(const T* LHS, const ilist_iterator<const T> &RHS) argument
259 operator !=(T* LHS, const ilist_iterator<T> &RHS) argument
263 operator ==(T* LHS, const ilist_iterator<T> &RHS) argument
404 swap(iplist &RHS) argument
[all...]
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h608 SDValue getSetCC(DebugLoc DL, EVT VT, SDValue LHS, SDValue RHS, argument
610 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
614 return getNode(ISD::SETCC, DL, VT, LHS, RHS, getCondCode(Cond));
620 SDValue getSelectCC(DebugLoc DL, SDValue LHS, SDValue RHS, argument
623 LHS, RHS, True, False, getCondCode(Cond));
/external/llvm/include/llvm/MC/
H A DMCExpr.h338 const MCExpr *LHS, *RHS; member in class:llvm::MCBinaryExpr
341 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {}
348 const MCExpr *RHS, MCContext &Ctx);
349 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS, argument
351 return Create(Add, LHS, RHS, Ctx);
353 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, argument
355 return Create(And, LHS, RHS, Ctx);
357 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, const MCExpr *RHS, argument
359 return Create(Div, LHS, RHS, Ctx);
361 static const MCBinaryExpr *CreateEQ(const MCExpr *LHS, const MCExpr *RHS, argument
365 CreateGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
369 CreateGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
373 CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
377 CreateLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
381 CreateLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
385 CreateLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
389 CreateMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
393 CreateMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
397 CreateNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
401 CreateOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
405 CreateShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
409 CreateShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
413 CreateSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
417 CreateXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
[all...]
/external/llvm/include/llvm/Support/
H A DPatternMatch.h297 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} argument
312 template<typename LHS, typename RHS>
313 inline BinaryOp_match<LHS, RHS, Instruction::Add>
314 m_Add(const LHS &L, const RHS &R) {
315 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R);
318 template<typename LHS, typename RHS>
319 inline BinaryOp_match<LHS, RHS, Instruction::FAdd>
320 m_FAdd(const LHS &L, const RHS &R) {
321 return BinaryOp_match<LHS, RHS, Instructio
428 BinOp2_match(const LHS_t &LHS, const RHS_t &RHS) argument
495 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument
533 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS, const RHS_t &RHS) argument
634 matchIfNot(Value *LHS, Value *RHS) argument
661 matchIfNeg(Value *LHS, Value *RHS) argument
687 matchIfFNeg(Value *LHS, Value *RHS) argument
738 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) argument
755 Value *RHS = Cmp->getOperand(1); local
[all...]
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp1041 Constant *RHS = local
1046 Constant *Ops[] = { LHS, RHS };
H A DLazyValueInfo.cpp191 bool mergeIn(const LVILatticeVal &RHS) { argument
192 if (RHS.isUndefined() || isOverdefined()) return false;
193 if (RHS.isOverdefined()) return markOverdefined();
196 Tag = RHS.Tag;
197 Val = RHS.Val;
198 Range = RHS.Range;
203 if (RHS.isConstant()) {
204 if (Val == RHS.Val)
209 if (RHS.isNotConstant()) {
210 if (Val == RHS
[all...]
/external/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp1069 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg()); local
1070 DEBUG(dbgs() << "\t\tRHS = " << PrintReg(CP.getSrcReg()) << ' ' << RHS
1073 assert(CP.isFlipped() && RHS.containsOneValue() &&
1077 // reserved physreg if RHS has a single value that is a copy of CP.DstReg().
1084 if (RHS.overlaps(LIS->getRegUnit(*UI))) {
1095 MachineInstr *CopyMI = MRI->getVRegDef(RHS.reg);
1142 // Otherwise, this *is* a copy from the RHS. If the other side has already
1232 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg());
1233 DEBUG(dbgs() << "\t\tRHS = " << PrintReg(CP.getSrcReg()) << ' ' << RHS
1252 // the RHS
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp176 SDValue RHS = BitConvertToInteger(N->getOperand(1)); local
180 EVT RVT = RHS.getValueType();
189 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit);
504 SDValue RHS = GetSoftenedFloat(N->getOperand(2)); local
506 LHS.getValueType(), N->getOperand(0),LHS,RHS);
511 SDValue RHS = GetSoftenedFloat(N->getOperand(3)); local
514 N->getOperand(1), LHS, RHS, N->getOperand(4));
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp700 GenericValue RHS = getConstantValue(CE->getOperand(1)); local
707 case Instruction::Add: GV.IntVal = LHS.IntVal + RHS.IntVal; break;
708 case Instruction::Sub: GV.IntVal = LHS.IntVal - RHS.IntVal; break;
709 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break;
710 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break;
711 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
712 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break;
713 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break;
714 case Instruction::And: GV.IntVal = LHS.IntVal & RHS.IntVal; break;
715 case Instruction::Or: GV.IntVal = LHS.IntVal | RHS
[all...]
/external/llvm/lib/Support/
H A DCommandLine.cpp200 StringRef &RHS = SplitArg.second; local
222 if (RHS.empty() || !PermitValue)
225 NearestString = std::string(OptionNames[i]) + "=" + RHS.str();
1191 static int OptNameCompare(const void *LHS, const void *RHS) { argument
1194 return strcmp(((const pair_ty*)LHS)->first, ((const pair_ty*)RHS)->first);
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelLowering.cpp573 SDValue RHS = Op.getOperand(1); local
582 CompareFlag = DAG.getNode(MBlazeISD::ICmp, dl, MVT::i32, LHS, RHS)
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp663 static SDValue EmitCMP(SDValue &LHS, SDValue &RHS, SDValue &TargetCC, argument
678 std::swap(LHS, RHS);
685 std::swap(LHS, RHS);
688 std::swap(LHS, RHS); // FALLTHROUGH
693 LHS = RHS;
694 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
701 std::swap(LHS, RHS); // FALLTHROUGH
706 LHS = RHS;
707 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
714 std::swap(LHS, RHS); // FALLTHROUG
750 SDValue RHS = Op.getOperand(3); local
763 SDValue RHS = Op.getOperand(1); local
844 SDValue RHS = Op.getOperand(1); local
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp101 SDValue SelectCC(SDValue LHS, SDValue RHS, ISD::CondCode CC, DebugLoc dl);
410 // If the LHS has a foldable shift and the RHS does not, then swap it to the
411 // RHS so that we can fold the shift into the insert.
462 SDValue PPCDAGToDAGISel::SelectCC(SDValue LHS, SDValue RHS, argument
470 if (isInt32Immediate(RHS, Imm)) {
496 if (isInt32Immediate(RHS, Imm) && isUInt<16>(Imm))
502 if (isIntS16Immediate(RHS, SImm))
511 if (isInt64Immediate(RHS.getNode(), Imm)) {
539 if (isInt64Immediate(RHS.getNode(), Imm) && isUInt<16>(Imm))
545 if (isIntS16Immediate(RHS, SIm
[all...]
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp856 // Only known if known in both the LHS and RHS.
863 // Look at LHS/RHS/CC and see if they are a lowered setcc instruction. If so
864 // set LHS/RHS and SPCC to the LHS/RHS of the setcc and SPCC to the condition.
865 static void LookThroughSetCC(SDValue &LHS, SDValue &RHS, argument
867 if (isa<ConstantSDNode>(RHS) &&
868 cast<ConstantSDNode>(RHS)->isNullValue() &&
881 RHS = CMPCC.getOperand(1);
947 SDValue RHS = Op.getOperand(3); local
954 LookThroughSetCC(LHS, RHS, C
977 SDValue RHS = Op.getOperand(1); local
[all...]

Completed in 2366 milliseconds

123456789