Searched refs:LHS (Results 101 - 125 of 335) sorted by relevance

1234567891011>>

/external/llvm/include/llvm/Analysis/
H A DConstantFolding.h65 ConstantFoldCompareInstOperands(unsigned Predicate, Constant *LHS,
H A DValueTracking.h221 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
226 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS,
H A DCGSCCPassManager.h206 friend void swap(ModuleToPostOrderCGSCCPassAdaptor &LHS, argument
209 swap(LHS.Pass, RHS.Pass);
432 friend void swap(CGSCCToFunctionPassAdaptor &LHS, argument
435 swap(LHS.Pass, RHS.Pass);
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h58 bool operator()(uint32_t LHS, argument
60 return LHS < RHS->getNextUnitOffset();
251 [=](const DWARFDebugInfoEntryMinimal &LHS, uint32_t Offset) {
252 return LHS.getOffset() < Offset;
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp125 ExprAST *LHS, *RHS; member in class:__anon10096::BinaryExprAST
129 : Op(op), LHS(lhs), RHS(rhs) {}
287 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
295 return LHS;
307 // the pending operator take RHS as its LHS.
315 // Merge LHS/RHS.
316 LHS = new BinaryExprAST(BinOp, LHS, RHS);
324 ExprAST *LHS = ParsePrimary(); local
325 if (!LHS)
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp143 ExprAST *LHS, *RHS; member in class:__anon10097::BinaryExprAST
147 : Op(op), LHS(lhs), RHS(rhs) {}
407 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
415 return LHS;
427 // the pending operator take RHS as its LHS.
435 // Merge LHS/RHS.
436 LHS = new BinaryExprAST(BinOp, LHS, RHS);
444 ExprAST *LHS = ParsePrimary(); local
445 if (!LHS)
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp162 ExprAST *LHS, *RHS; member in class:__anon10098::BinaryExprAST
166 : Op(op), LHS(lhs), RHS(rhs) {}
454 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
462 return LHS;
474 // the pending operator take RHS as its LHS.
482 // Merge LHS/RHS.
483 LHS = new BinaryExprAST(BinOp, LHS, RHS);
491 ExprAST *LHS = ParseUnary(); local
492 if (!LHS)
[all...]
/external/llvm/include/llvm/Option/
H A DArgList.h80 friend bool operator==(arg_iterator LHS, arg_iterator RHS) { argument
81 return LHS.Current == RHS.Current;
83 friend bool operator!=(arg_iterator LHS, arg_iterator RHS) { argument
84 return !(LHS == RHS);
294 /// \brief Create an arg string for (\p LHS + \p RHS), reusing the
296 const char *GetOrMakeJoinedArgString(unsigned Index, StringRef LHS,
/external/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp465 static void NegateCC(SDValue &LHS, SDValue &RHS, ISD::CondCode &CC) { argument
474 std::swap(LHS, RHS);
482 SDValue LHS = Op.getOperand(2); local
487 NegateCC(LHS, RHS, CC);
489 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS,
494 SDValue LHS = Op.getOperand(0); local
501 NegateCC(LHS, RHS, CC);
506 SDValue Ops[] = {LHS, RHS, TargetCC, TrueV, FalseV};
575 unsigned LHS = MI->getOperand(1).getReg(); local
581 .addReg(LHS)
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp497 Instruction *LHS = dyn_cast<Instruction>(inst->getOperand(0)); local
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 Shif
847 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local
886 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local
982 Value *LHS = CI->getOperand(CI->getNumOperands() - 1); local
999 Value *LHS = CI->getOperand(CI->getNumOperands()-1); local
[all...]
/external/llvm/lib/IR/
H A DCore.cpp2277 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2279 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name));
2282 LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2284 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name));
2287 LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2289 return wrap(unwrap(B)->CreateNUWAdd(unwrap(LHS), unwrap(RHS), Name));
2292 LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2294 return wrap(unwrap(B)->CreateFAdd(unwrap(LHS), unwrap(RHS), Name));
2297 LLVMValueRef LLVMBuildSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2299 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwra
2302 LLVMBuildNSWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2307 LLVMBuildNUWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2312 LLVMBuildFSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2317 LLVMBuildMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2322 LLVMBuildNSWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2327 LLVMBuildNUWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2332 LLVMBuildFMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2337 LLVMBuildUDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2342 LLVMBuildSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2347 LLVMBuildExactSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2352 LLVMBuildFDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2357 LLVMBuildURem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2362 LLVMBuildSRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2367 LLVMBuildFRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2372 LLVMBuildShl(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2377 LLVMBuildLShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2382 LLVMBuildAShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2387 LLVMBuildAnd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2392 LLVMBuildOr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2397 LLVMBuildXor(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2402 LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2657 LLVMBuildICmp(LLVMBuilderRef B, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2664 LLVMBuildFCmp(LLVMBuilderRef B, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2739 LLVMBuildPtrDiff(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
[all...]
H A DLLVMContextImpl.h63 static bool isEqual(const APInt &LHS, const APInt &RHS) { argument
64 return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS;
74 static bool isEqual(const APFloat &LHS, const APFloat &RHS) { argument
75 return LHS.bitwiseIsEqual(RHS);
112 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { argument
115 return LHS == KeyTy(RHS);
117 static bool isEqual(const StructType *LHS, const StructType *RHS) { argument
118 return LHS == RHS;
160 static bool isEqual(const KeyTy& LHS, cons argument
165 isEqual(const FunctionType *LHS, const FunctionType *RHS) argument
842 isEqual(const KeyTy &LHS, const NodeTy *RHS) argument
847 isEqual(const NodeTy *LHS, const NodeTy *RHS) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp56 inline bool operator<(const ValueEntry &LHS, const ValueEntry &RHS) { argument
57 return LHS.Rank > RHS.Rank; // Sort so that highest rank goes to start.
87 bool operator()(const Factor &LHS, const Factor &RHS) { argument
88 return LHS.Base < RHS.Base;
94 bool operator()(const Factor &LHS, const Factor &RHS) { argument
95 return LHS.Base == RHS.Base;
101 bool operator()(const Factor &LHS, const Factor &RHS) { argument
102 return LHS.Power > RHS.Power;
108 bool operator()(const Factor &LHS, const Factor &RHS) { argument
109 return LHS
146 operator ()(XorOpnd * const &LHS, XorOpnd * const &RHS) argument
338 Value *LHS = I->getOperand(0); local
418 IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) argument
[all...]
/external/clang/lib/Analysis/
H A DBodyFarm.cpp51 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
54 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS,
89 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, argument
91 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS),
96 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, argument
100 return new (C) BinaryOperator(const_cast<Expr*>(LHS),
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp177 SourceLocation LHS = getLoc(L); local
179 return SM.isBeforeInTranslationUnit(LHS, RHS);
183 SourceLocation LHS = getLoc(L); local
184 return SM.isBeforeInTranslationUnit(LHS, RHS);
187 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { argument
189 return SM.isBeforeInTranslationUnit(LHS, RHS);
/external/clang/lib/Sema/
H A DSemaPseudoObject.cpp23 // 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(); 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) {
414 Expr *syntacticLHS = rebuildAndCaptureObject(LHS);
867 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument
975 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument
1540 checkPseudoObjectAssignment(Scope *S, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument
[all...]
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp500 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local
502 if (!isa<Constant>(LHS))
503 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS))
504 LHS = SimpleLHS;
508 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
523 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS);
529 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset);
570 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local
573 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS);
579 Constant *CLHS = ConstantInt::get(LHS
595 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); local
[all...]
/external/clang/include/clang/AST/
H A DCharUnits.h210 static bool isEqual(const clang::CharUnits &LHS, argument
212 return LHS == RHS;
/external/clang/include/clang/Tooling/Core/
H A DReplacement.h129 bool operator<(const Replacement &LHS, const Replacement &RHS);
132 bool operator==(const Replacement &LHS, const Replacement &RHS);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp164 static int compareEntry(const Table::MapEntryTy *const *LHS, argument
166 return (*LHS)->getKey().compare((*RHS)->getKey());
/external/llvm/include/llvm/ADT/
H A Dilist.h252 bool operator!=(const T* LHS, const ilist_iterator<const T> &RHS) { argument
253 return LHS != RHS.getNodePtrUnchecked();
256 bool operator==(const T* LHS, const ilist_iterator<const T> &RHS) { argument
257 return LHS == RHS.getNodePtrUnchecked();
260 bool operator!=(T* LHS, const ilist_iterator<T> &RHS) { argument
261 return LHS != RHS.getNodePtrUnchecked();
264 bool operator==(T* LHS, const ilist_iterator<T> &RHS) { argument
265 return LHS == RHS.getNodePtrUnchecked();
H A DArrayRef.h329 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument
330 return LHS.equals(RHS);
334 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument
335 return !(LHS == RHS);
/external/llvm/lib/Support/
H A DTargetRegistry.cpp118 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, argument
120 return LHS->first.compare(RHS->first);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp771 GenericValue LHS = getConstantValue(Op0); local
779 case Instruction::Add: GV.IntVal = LHS.IntVal + RHS.IntVal; break;
780 case Instruction::Sub: GV.IntVal = LHS.IntVal - RHS.IntVal; break;
781 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break;
782 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break;
783 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
784 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break;
785 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break;
786 case Instruction::And: GV.IntVal = LHS.IntVal & RHS.IntVal; break;
787 case Instruction::Or: GV.IntVal = LHS
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.h42 const SymExpr *LHS,

Completed in 762 milliseconds

1234567891011>>