Searched refs:LHS (Results 76 - 100 of 298) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp196 const MCExpr *LHS; local
198 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx);
200 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx);
202 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx);
204 Expr = LHS;
/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
349 IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp305 // Only known if known in both the LHS and RHS
493 SDValue LHS = Op.getOperand(0); local
509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS);
520 // int ia = (int)LHS;
521 SDValue ia = DAG.getSExtOrTrunc(LHS, DL, INTTY);
574 SDValue LHS = Op.getOperand(0); local
577 // mov r0, LHS
590 // mov r0, LHS
591 SDValue r0 = LHS;
653 SDValue LHS local
671 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY); local
683 SDValue LHS = Op.getOperand(0); local
[all...]
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/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp305 // Only known if known in both the LHS and RHS
493 SDValue LHS = Op.getOperand(0); local
509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS);
520 // int ia = (int)LHS;
521 SDValue ia = DAG.getSExtOrTrunc(LHS, DL, INTTY);
574 SDValue LHS = Op.getOperand(0); local
577 // mov r0, LHS
590 // mov r0, LHS
591 SDValue r0 = LHS;
653 SDValue LHS local
671 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY); local
683 SDValue LHS = Op.getOperand(0); local
[all...]
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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h369 const SymExpr *LHS; member in class:clang::ento::SymIntExpr
375 : BinarySymExpr(SymIntKind, op, t), LHS(lhs), RHS(rhs) {}
379 const SymExpr *getLHS() const { return LHS; }
393 Profile(ID, LHS, getOpcode(), RHS, getType());
404 const llvm::APSInt& LHS; member in class:clang::ento::IntSymExpr
410 : BinarySymExpr(IntSymKind, op, t), LHS(lhs), RHS(rhs) {}
415 const llvm::APSInt &getLHS() const { return LHS; }
428 Profile(ID, LHS, getOpcode(), RHS, getType());
439 const SymExpr *LHS; member in class:clang::ento::SymSymExpr
445 : BinarySymExpr(SymSymKind, op, t), LHS(lh
[all...]
/external/llvm/include/llvm/ADT/
H A DSmallBitVector.h575 operator&(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument
576 SmallBitVector Result(LHS);
582 operator|(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument
583 SmallBitVector Result(LHS);
589 operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) { argument
590 SmallBitVector Result(LHS);
600 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) { argument
601 LHS.swap(RHS);
H A DSparseBitVector.h826 inline bool operator |=(SparseBitVector<ElementSize> &LHS,
828 return LHS |= *RHS;
832 inline bool operator |=(SparseBitVector<ElementSize> *LHS,
834 return LHS->operator|=(RHS);
838 inline bool operator &=(SparseBitVector<ElementSize> *LHS,
840 return LHS->operator&=(RHS);
844 inline bool operator &=(SparseBitVector<ElementSize> &LHS,
846 return LHS &= *RHS;
853 operator|(const SparseBitVector<ElementSize> &LHS,
855 SparseBitVector<ElementSize> Result(LHS);
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachORelocationInfo.cpp87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); variable
101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
/external/llvm/unittests/ADT/
H A DDenseMapTest.cpp66 static bool isEqual(const CtorTester &LHS, const CtorTester &RHS) {
67 return LHS == RHS;
329 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
330 return LHS == RHS;
332 static bool isEqual(const char* LHS, const unsigned& RHS) { argument
333 return (unsigned)(LHS[0] - 'a') == RHS;
365 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
366 return LHS == RHS;
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp454 /// SCEVComplexityCompare - Return true if the complexity of the LHS is less
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 { argument
464 return compare(LHS, RHS) < 0;
467 // Return negative, zero, or positive, if LHS is less than, equal to, or
470 int compare(const SCEV *LHS, const SCEV *RHS) const { argument
472 if (LHS == RHS)
476 unsigned LType = LHS->getSCEVType(), RType = RHS->getSCEVType();
485 const SCEVUnknown *LU = cast<SCEVUnknown>(LHS);
537 const SCEVConstant *LC = cast<SCEVConstant>(LHS);
644 const SCEV *&LHS = Ops[0], *&RHS = Ops[1]; local
1483 operator ()(const APInt &LHS, const APInt &RHS) const argument
[all...]
H A DScalarEvolutionExpander.cpp153 Value *LHS, Value *RHS) {
155 if (Constant *CLHS = dyn_cast<Constant>(LHS))
171 if (IP->getOpcode() == (unsigned)Opcode && IP->getOperand(0) == LHS &&
184 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break;
193 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS));
675 bool operator()(std::pair<const Loop *, const SCEV *> LHS, argument
678 if (LHS.second->getType()->isPointerTy() !=
680 return LHS.second->getType()->isPointerTy();
683 if (LHS.first != RHS.first)
684 return PickMostRelevantLoop(LHS
152 InsertBinop(Instruction::BinaryOps Opcode, Value *LHS, Value *RHS) argument
818 Value *LHS = expandCodeFor(S->getLHS(), Ty); local
1531 Value *LHS = expand(S->getOperand(S->getNumOperands()-1)); local
1555 Value *LHS = expand(S->getOperand(S->getNumOperands()-1)); local
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp977 static SDValue emitComparison(SDValue LHS, SDValue RHS, ISD::CondCode CC, argument
979 EVT VT = LHS.getValueType();
982 return DAG.getNode(AArch64ISD::FCMP, dl, VT, LHS, RHS);
1005 } else if (LHS.getOpcode() == ISD::AND && isa<ConstantSDNode>(RHS) &&
1012 RHS = LHS.getOperand(1);
1013 LHS = LHS.getOperand(0);
1016 return DAG.getNode(Opcode, dl, DAG.getVTList(VT, MVT::i32), LHS, RHS)
1020 static SDValue getAArch64Cmp(SDValue LHS, SDValue RHS, ISD::CondCode CC, argument
1077 SDValue Cmp = emitComparison(LHS, RH
1089 SDValue LHS = Op.getOperand(0); local
1224 SDValue LHS = Sel.getOperand(0); local
2835 SDValue LHS = Op.getOperand(2); local
3210 SDValue LHS = Op.getOperand(0); local
4543 GeneratePerfectShuffle(unsigned PFEntry, SDValue LHS, SDValue RHS, SelectionDAG &DAG, SDLoc dl) argument
4899 SDValue LHS = Op.getOperand(0); local
5097 SDValue LHS = Op.getOperand(1); local
5826 EmitVectorComparison(SDValue LHS, SDValue RHS, AArch64CC::CondCode CC, bool NoNans, EVT VT, SDLoc dl, SelectionDAG &DAG) argument
5922 SDValue LHS = Op.getOperand(0); local
6897 SDValue LHS = Op->getOperand(0); local
6958 SDValue LHS = N->getOperand(0); local
7689 SDValue LHS = local
[all...]
/external/llvm/unittests/IR/
H A DConstantRangeTest.cpp242 ConstantRange LHS(APInt(16, 4), APInt(16, 2));
244 EXPECT_TRUE(LHS.intersectWith(RHS) == LHS);
247 LHS = ConstantRange(APInt(32, -2147483646), APInt(32, 3));
249 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2)));
252 LHS = ConstantRange(APInt(32, 2), APInt(32, 0));
254 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2), APInt(32, 0)));
257 LHS = ConstantRange(APInt(32, 2), APInt(32, 0));
259 EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 4), APInt(32, 0)));
262 LHS
[all...]
/external/llvm/lib/TableGen/
H A DRecord.cpp72 static bool isEqual(const TableGenStringKey& LHS, argument
74 return LHS.str() == RHS.str();
755 if (StringInit *LHSs = dyn_cast<StringInit>(LHS))
758 if (DefInit *LHSd = dyn_cast<DefInit>(LHS))
761 if (IntInit *LHSi = dyn_cast<IntInit>(LHS))
764 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) {
813 if (ListInit *LHSl = dyn_cast<ListInit>(LHS)) {
820 if (ListInit *LHSl = dyn_cast<ListInit>(LHS)) {
834 if (ListInit *LHSl = dyn_cast<ListInit>(LHS)) {
841 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) {
1030 EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg, RecTy *Type, Record *CurRec, MultiClass *CurMultiClass) argument
1068 ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, Record *CurRec, MultiClass *CurMultiClass) argument
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp811 static SDValue EmitCMP(SDValue &LHS, SDValue &RHS, SDValue &TargetCC, argument
815 assert(!LHS.getValueType().isFloatingPoint() && "We don't handle FP yet");
823 // Minor optimization: if LHS is a constant, swap operands, then the
825 if (LHS.getOpcode() == ISD::Constant)
826 std::swap(LHS, RHS);
830 // Minor optimization: if LHS is a constant, swap operands, then the
832 if (LHS.getOpcode() == ISD::Constant)
833 std::swap(LHS, RHS);
836 std::swap(LHS, RHS); // FALLTHROUGH
840 if (const ConstantSDNode * C = dyn_cast<ConstantSDNode>(LHS)) {
897 SDValue LHS = Op.getOperand(2); local
910 SDValue LHS = Op.getOperand(0); local
991 SDValue LHS = Op.getOperand(0); local
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DCheckedArithmetic.h230 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)
242 static inline bool add(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN
258 static inline bool sub(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN
273 static inline bool multiply(LHS lh
[all...]
/external/clang/include/clang/Basic/
H A DSourceManager.h488 /// the specified LHS/RHS query.
491 bool isCacheValid(FileID LHS, FileID RHS) const { argument
492 return LQueryFID == LHS && RQueryFID == RHS;
496 /// specified offsets in the LHS/RHS FileID's.
515 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) { argument
516 assert(LHS != RHS);
517 LQueryFID = LHS;
1200 /// \brief Return true if both \p LHS and \p RHS are in the local source
1204 /// offset of \p RHS relative to \p LHS.
1205 bool isInSameSLocAddrSpace(SourceLocation LHS, SourceLocatio argument
1439 isBeforeInSLocAddrSpace(SourceLocation LHS, SourceLocation RHS) const argument
1447 isBeforeInSLocAddrSpace(SourceLocation LHS, unsigned RHS) const argument
[all...]
/external/llvm/include/llvm/Analysis/
H A DConstantFolding.h66 Constant *LHS, Constant *RHS,
/external/llvm/include/llvm/IR/
H A DPassManager.h74 friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) { argument
76 swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs);
219 friend void swap(PassModel &LHS, PassModel &RHS) { argument
221 swap(LHS.Pass, RHS.Pass);
245 friend void swap(PassModel &LHS, PassModel &RHS) { argument
247 swap(LHS.Pass, RHS.Pass);
321 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { argument
323 swap(LHS.Result, RHS.Result);
353 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { argument
355 swap(LHS
405 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument
439 swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) argument
979 swap(ModuleToFunctionPassAdaptor &LHS, ModuleToFunctionPassAdaptor &RHS) argument
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp126 ExprAST *LHS, *RHS; member in class:__anon25453::BinaryExprAST
129 : Op(op), LHS(lhs), RHS(rhs) {}
362 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
370 return LHS;
381 // the pending operator take RHS as its LHS.
388 // Merge LHS/RHS.
389 LHS = new BinaryExprAST(BinOp, LHS, RHS);
397 ExprAST *LHS = ParsePrimary(); local
398 if (!LHS) retur
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp141 ExprAST *LHS, *RHS; member in class:__anon25454::BinaryExprAST
144 : Op(op), LHS(lhs), RHS(rhs) {}
406 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
414 return LHS;
425 // the pending operator take RHS as its LHS.
432 // Merge LHS/RHS.
433 LHS = new BinaryExprAST(BinOp, LHS, RHS);
441 ExprAST *LHS = ParseUnary(); local
442 if (!LHS) retur
[all...]
/external/llvm/include/llvm/Option/
H A DArgList.h78 friend bool operator==(arg_iterator LHS, arg_iterator RHS) { argument
79 return LHS.Current == RHS.Current;
81 friend bool operator!=(arg_iterator LHS, arg_iterator RHS) { argument
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,
/external/llvm/lib/IR/
H A DCore.cpp2101 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2103 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name));
2106 LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2108 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name));
2111 LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2113 return wrap(unwrap(B)->CreateNUWAdd(unwrap(LHS), unwrap(RHS), Name));
2116 LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2118 return wrap(unwrap(B)->CreateFAdd(unwrap(LHS), unwrap(RHS), Name));
2121 LLVMValueRef LLVMBuildSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, argument
2123 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwra
2126 LLVMBuildNSWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2131 LLVMBuildNUWSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2136 LLVMBuildFSub(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2141 LLVMBuildMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2146 LLVMBuildNSWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2151 LLVMBuildNUWMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2156 LLVMBuildFMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2161 LLVMBuildUDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2166 LLVMBuildSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2171 LLVMBuildExactSDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2176 LLVMBuildFDiv(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2181 LLVMBuildURem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2186 LLVMBuildSRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2191 LLVMBuildFRem(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2196 LLVMBuildShl(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2201 LLVMBuildLShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2206 LLVMBuildAShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2211 LLVMBuildAnd(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2216 LLVMBuildOr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2221 LLVMBuildXor(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2226 LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2480 LLVMBuildICmp(LLVMBuilderRef B, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2487 LLVMBuildFCmp(LLVMBuilderRef B, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
2562 LLVMBuildPtrDiff(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) argument
[all...]

Completed in 908 milliseconds

1234567891011>>