Searched defs:LHS (Results 51 - 75 of 233) sorted by relevance

12345678910

/external/llvm/include/llvm/IR/
H A DConstantFolder.h34 Constant *CreateAdd(Constant *LHS, Constant *RHS, argument
36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { argument
39 return ConstantExpr::getFAdd(LHS, RHS);
41 Constant *CreateSub(Constant *LHS, Constant *RHS, argument
43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
45 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { argument
46 return ConstantExpr::getFSub(LHS, RHS);
48 Constant *CreateMul(Constant *LHS, Constant *RHS, argument
50 return ConstantExpr::getMul(LHS, RH
52 CreateFMul(Constant *LHS, Constant *RHS) const argument
55 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
59 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
63 CreateFDiv(Constant *LHS, Constant *RHS) const argument
66 CreateURem(Constant *LHS, Constant *RHS) const argument
69 CreateSRem(Constant *LHS, Constant *RHS) const argument
72 CreateFRem(Constant *LHS, Constant *RHS) const argument
75 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
79 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
83 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
87 CreateAnd(Constant *LHS, Constant *RHS) const argument
90 CreateOr(Constant *LHS, Constant *RHS) const argument
93 CreateXor(Constant *LHS, Constant *RHS) const argument
97 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument
194 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument
198 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument
[all...]
H A DValueHandle.h251 static bool isEqual(const AssertingVH<T> &LHS, const AssertingVH<T> &RHS) { argument
252 return LHS == RHS;
H A DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, argument
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { argument
48 return BinaryOperator::CreateNSWAdd(LHS, RHS);
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { argument
51 return BinaryOperator::CreateNUWAdd(LHS, RHS);
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { argument
54 return BinaryOperator::CreateFAdd(LHS, RHS);
56 Instruction *CreateSub(Constant *LHS, Constant *RHS, argument
58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RH
63 CreateNSWSub(Constant *LHS, Constant *RHS) const argument
66 CreateNUWSub(Constant *LHS, Constant *RHS) const argument
69 CreateFSub(Constant *LHS, Constant *RHS) const argument
72 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
79 CreateNSWMul(Constant *LHS, Constant *RHS) const argument
82 CreateNUWMul(Constant *LHS, Constant *RHS) const argument
85 CreateFMul(Constant *LHS, Constant *RHS) const argument
88 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
94 CreateExactUDiv(Constant *LHS, Constant *RHS) const argument
97 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
103 CreateExactSDiv(Constant *LHS, Constant *RHS) const argument
106 CreateFDiv(Constant *LHS, Constant *RHS) const argument
109 CreateURem(Constant *LHS, Constant *RHS) const argument
112 CreateSRem(Constant *LHS, Constant *RHS) const argument
115 CreateFRem(Constant *LHS, Constant *RHS) const argument
118 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
125 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
131 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
137 CreateAnd(Constant *LHS, Constant *RHS) const argument
140 CreateOr(Constant *LHS, Constant *RHS) const argument
143 CreateXor(Constant *LHS, Constant *RHS) const argument
147 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument
253 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument
257 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument
[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/CodeGen/
H A DIntrinsicLowering.cpp282 Value *LHS = Builder.CreateAnd(PartValue, MaskCst, "cppop.and1"); local
287 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step");
H A DStackSlotColoring.cpp131 bool operator()(LiveInterval* LHS, LiveInterval* RHS) const { argument
132 return LHS->weight > RHS->weight;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp183 bool resource_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument
187 if (LHS->isScheduleHigh && !RHS->isScheduleHigh)
190 if (!LHS->isScheduleHigh && RHS->isScheduleHigh)
193 unsigned LHSNum = LHS->NodeNum;
/external/llvm/lib/MC/
H A DMCExpr.cpp77 // Only print parens around the LHS if it is non-trivial.
115 // Only print parens around the LHS if it is non-trivial.
137 const MCBinaryExpr *MCBinaryExpr::Create(Opcode Opc, const MCExpr *LHS, argument
139 return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
560 /// from two MCValue's LHS and RHS where
561 /// Result = LHS + RHS
579 const MCValue &LHS,const MCSymbolRefExpr *RHS_A,
584 const MCSymbolRefExpr *LHS_A = LHS.getSymA();
585 const MCSymbolRefExpr *LHS_B = LHS.getSymB();
586 int64_t LHS_Cst = LHS
575 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet, const MCValue &LHS,const MCSymbolRefExpr *RHS_A, const MCSymbolRefExpr *RHS_B, int64_t RHS_Cst, MCValue &Res) argument
764 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); local
[all...]
/external/llvm/lib/Option/
H A DArgList.cpp285 StringRef LHS,
288 if (Cur.size() == LHS.size() + RHS.size() &&
289 Cur.startswith(LHS) && Cur.endswith(RHS))
292 return MakeArgString(LHS + RHS);
284 GetOrMakeJoinedArgString(unsigned Index, StringRef LHS, StringRef RHS) const argument
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp275 SDValue LHS = Node->getOperand(0); local
278 EVT VT = LHS.getValueType();
286 SDNode *Result = CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600ISelLowering.cpp336 SDValue LHS = Op.getOperand(2); local
345 LHS, RHS,
392 SDValue LHS = Op.getOperand(0); local
400 // LHS and RHS are guaranteed to be the same value type
401 EVT CompareVT = LHS.getValueType();
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
424 LHS = DAG.getNode(ConversionOp, DL, VT, LHS);
431 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RH
502 SDValue LHS = Op.getOperand(0); local
[all...]
H A DSIISelLowering.cpp312 SDValue LHS = Op.getOperand(2); local
321 LHS, RHS,
376 SDValue LHS = Op.getOperand(0); local
384 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
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...]
/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...]
/external/clang/lib/AST/
H A DDeclarationName.cpp80 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { argument
81 if (LHS.getNameKind() != RHS.getNameKind())
82 return (LHS.getNameKind() < RHS.getNameKind() ? -1 : 1);
84 switch (LHS.getNameKind()) {
86 IdentifierInfo *LII = LHS.getAsIdentifierInfo();
97 Selector LHSSelector = LHS.getObjCSelector();
115 if (QualTypeOrdering()(LHS.getCXXNameType(), RHS.getCXXNameType()))
117 if (QualTypeOrdering()(RHS.getCXXNameType(), LHS.getCXXNameType()))
122 return compareInt(LHS.getCXXOverloadedOperator(),
126 return LHS
[all...]
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp179 SourceLocation LHS = getLoc(L); local
181 return SM.isBeforeInTranslationUnit(LHS, RHS);
185 SourceLocation LHS = getLoc(L); local
186 return SM.isBeforeInTranslationUnit(LHS, RHS);
189 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { argument
191 return SM.isBeforeInTranslationUnit(LHS, RHS);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp82 const Expr *LHS = B->getLHS(); local
89 while (const BinaryOperator *B2 = dyn_cast<BinaryOperator>(LHS)) {
97 LHS = B2->getLHS();
100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) {
102 Sr[1] = LHS->getSourceRange();
205 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); local
208 const DeclRefExpr *DeclRef1 = dyn_cast<DeclRefExpr>(LHS);
210 const FloatingLiteral *FloatLit1 = dyn_cast<FloatingLiteral>(LHS);
227 } else if (LHS->getType()->hasFloatingRepresentation()) {
230 // Here only LHS i
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp306 NonLoc LHS, NonLoc RHS,
308 if (!State->isTainted(RHS) && !State->isTainted(LHS))
311 const SymExpr *symLHS = LHS.getAsSymExpr();
326 if (Optional<nonloc::ConcreteInt> lInt = LHS.getAs<nonloc::ConcreteInt>())
304 makeSymExprValNN(ProgramStateRef State, BinaryOperator::Opcode Op, NonLoc LHS, NonLoc RHS, QualType ResultTy) argument
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp233 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
241 return LHS;
252 // the pending operator take RHS as its LHS.
259 // Merge LHS/RHS.
260 LHS = new BinaryExprAST(BinOp, LHS, RHS);
268 ExprAST *LHS = ParsePrimary(); local
269 if (!LHS) return 0;
271 return ParseBinOpRHS(0, LHS);
/external/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h583 static bool isEqual(const AliasAnalysis::Location &LHS, argument
585 return LHS.Ptr == RHS.Ptr &&
586 LHS.Size == RHS.Size &&
587 LHS.TBAATag == RHS.TBAATag;
/external/llvm/lib/DebugInfo/
H A DDWARFDebugLine.h93 static bool orderByAddress(const Row& LHS, const Row& RHS) { argument
94 return LHS.Address < RHS.Address;
152 static bool orderByLowPC(const Sequence& LHS, const Sequence& RHS) { argument
153 return LHS.LowPC < RHS.LowPC;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp27 MatchSelectPattern(Value *V, Value *&LHS, Value *&RHS) { argument
40 LHS = CmpLHS;
763 Value *LHS = IC->getOperand(0); local
764 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS))))
804 Value *V = Builder->CreateZExtOrTrunc(LHS, SI.getType());
1035 Value *LHS, *RHS, *LHS2, *RHS2;
1036 if (SelectPatternFlavor SPF = MatchSelectPattern(&SI, LHS, RHS)) {
1037 if (SelectPatternFlavor SPF2 = MatchSelectPattern(LHS, LHS2, RHS2))
1038 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(LHS),SPF2,LHS2,RHS2,
1043 SI, SPF, LHS))
[all...]
H A DInstCombineSimplifyDemanded.cpp160 // If either the LHS or the RHS are Zero, the result is zero.
182 // If either the LHS or the RHS are One, the result is One.
236 // If either the LHS or the RHS are Zero, the result is zero.
262 // Output known-1 bits are only known if set in both the LHS & RHS.
264 // Output known-0 are known to be clear if zero in either the LHS | RHS.
268 // If either the LHS or the RHS are One, the result is One.
299 // Output known-0 bits are only known if clear in both the LHS & RHS.
301 // Output known-1 are known to be set if set in either the LHS | RHS.
349 // If our LHS is an 'and' and if it has one use, and if any of the bits we
373 // Output known-0 bits are known if clear or set in both the LHS
1245 Value *LHS = II->getArgOperand(0); local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp84 static bool isEqual(SimpleValue LHS, SimpleValue RHS);
92 Value *LHS = BinOp->getOperand(0); local
95 std::swap(LHS, RHS);
102 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS);
105 return hash_combine(BinOp->getOpcode(), LHS, RHS);
109 Value *LHS = CI->getOperand(0); local
113 std::swap(LHS, RHS);
116 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS);
142 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) { argument
143 Instruction *LHSI = LHS
244 isEqual(CallValue LHS, CallValue RHS) argument
[all...]
H A DSeparateConstOffsetFromGEP.cpp194 /// Returns true if LHS and RHS have no bits in common, i.e., LHS | RHS == 0.
195 bool NoCommonBits(Value *LHS, Value *RHS) const;
326 Value *LHS = BO->getOperand(0), *RHS = BO->getOperand(1); local
327 // Do not trace into "or" unless it is equivalent to "add". If LHS and RHS
328 // don't have common bits, (LHS | RHS) is equivalent to (LHS + RHS).
329 if (BO->getOpcode() == Instruction::Or && !NoCommonBits(LHS, RHS))
352 if (ConstantInt *ConstLHS = dyn_cast<ConstantInt>(LHS)) {
518 // If NextInChain is 0 and not the LHS o
589 NoCommonBits(Value *LHS, Value *RHS) const argument
[all...]

Completed in 1179 milliseconds

12345678910