Searched refs:LHS (Results 126 - 150 of 298) sorted by relevance

1234567891011>>

/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp164 ExprAST *LHS, *RHS; member in class:BinaryExprAST
167 : Op(op), LHS(lhs), RHS(rhs) {}
488 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
496 return LHS;
507 // the pending operator take RHS as its LHS.
514 // Merge LHS/RHS.
515 LHS = new BinaryExprAST(BinOp, LHS, RHS);
523 ExprAST *LHS = ParseUnary(); local
524 if (!LHS) retur
[all...]
H A Dtoy.cpp170 ExprAST *LHS, *RHS; member in class:BinaryExprAST
173 : Op(op), LHS(lhs), RHS(rhs) {}
494 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
502 return LHS;
513 // the pending operator take RHS as its LHS.
520 // Merge LHS/RHS.
521 LHS = new BinaryExprAST(BinOp, LHS, RHS);
529 ExprAST *LHS = ParseUnary(); local
530 if (!LHS) retur
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp147 ExprAST *LHS, *RHS; member in class:BinaryExprAST
150 : Op(op), LHS(lhs), RHS(rhs) {}
471 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
479 return LHS;
490 // the pending operator take RHS as its LHS.
497 // Merge LHS/RHS.
498 LHS = new BinaryExprAST(BinOp, LHS, RHS);
506 ExprAST *LHS = ParseUnary(); local
507 if (!LHS) retur
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp149 ExprAST *LHS, *RHS; member in class:BinaryExprAST
152 : Op(op), LHS(lhs), RHS(rhs) {}
473 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
481 return LHS;
492 // the pending operator take RHS as its LHS.
499 // Merge LHS/RHS.
500 LHS = new BinaryExprAST(BinOp, LHS, RHS);
508 ExprAST *LHS = ParseUnary(); local
509 if (!LHS) retur
[all...]
H A Dtoy.cpp149 ExprAST *LHS, *RHS; member in class:BinaryExprAST
152 : Op(op), LHS(lhs), RHS(rhs) {}
473 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
481 return LHS;
492 // the pending operator take RHS as its LHS.
499 // Merge LHS/RHS.
500 LHS = new BinaryExprAST(BinOp, LHS, RHS);
508 ExprAST *LHS = ParseUnary(); local
509 if (!LHS) retur
[all...]
/external/llvm/include/llvm/Support/
H A DScaledNumber.h110 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS);
116 inline std::pair<DigitsT, int16_t> getProduct(DigitsT LHS, DigitsT RHS) { argument
119 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX))
120 return getAdjusted<DigitsT>(uint64_t(LHS) * RHS);
122 return multiply64(LHS, RHS);
126 inline std::pair<uint32_t, int16_t> getProduct32(uint32_t LHS, uint32_t RHS) { argument
127 return getProduct(LHS, RHS);
131 inline std::pair<uint64_t, int16_t> getProduct64(uint64_t LHS, uint64_t RHS) { argument
132 return getProduct(LHS, RHS);
370 /// Get LHS minu
689 getProduct(DigitsType LHS, DigitsType RHS) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
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...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp353 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(1); local
358 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne);
371 Value *Add = Builder->CreateAdd(LHS, RHS);
374 UndefValue::get(LHS->getType()),
385 Value *Add = Builder->CreateNUWAdd(LHS, RHS);
388 UndefValue::get(LHS->getType()),
402 Value *LHS = II->getArgOperand(0); local
404 II->setArgOperand(1, LHS);
428 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(1); local
429 if (WillNotOverflowSignedAdd(LHS, RH
462 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(1); local
494 Value *LHS = II->getArgOperand(0); local
[all...]
/external/eigen/Eigen/src/Core/
H A DCwiseBinaryOp.h96 #define EIGEN_CHECK_BINARY_COMPATIBILIY(BINOP,LHS,RHS) \
98 ? int(internal::scalar_product_traits<LHS, RHS>::Defined) \
99 : int(internal::is_same<LHS, RHS>::value)), \
/external/eigen/Eigen/src/Core/util/
H A DMacros.h414 #define EIGEN_CWISE_PRODUCT_RETURN_TYPE(LHS,RHS) \
417 typename internal::traits<LHS>::Scalar, \
420 const LHS, \
/external/llvm/lib/Support/
H A DScaledNumber.cpp22 std::pair<uint64_t, int16_t> ScaledNumbers::multiply64(uint64_t LHS, argument
27 uint64_t UL = getU(LHS), LL = getL(LHS), UR = getU(RHS), LR = getL(RHS);
H A DAPInt.cpp364 // Get some bit facts about LHS and check for zero
525 // If magnitude of LHS is less than RHS, return true.
529 // If magnitude of RHS is greather than LHS, return false.
1667 void APInt::divide(const APInt LHS, unsigned lhsWords,
1708 uint64_t tmp = (LHS.getNumWords() == 1 ? LHS.VAL : LHS.pVal[i]);
1775 if (Quotient->BitWidth != LHS.BitWidth) {
1780 Quotient->BitWidth = LHS.BitWidth;
1852 // Get some facts about the LHS an
[all...]
/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/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;
H A DCGSCCPassManager.h314 friend void swap(ModuleToPostOrderCGSCCPassAdaptor &LHS, argument
317 swap(LHS.Pass, RHS.Pass);
534 friend void swap(CGSCCToFunctionPassAdaptor &LHS, CGSCCToFunctionPassAdaptor &RHS) { argument
536 swap(LHS.Pass, RHS.Pass);
/external/llvm/include/llvm/IR/
H A DValueMap.h270 static bool isEqual(const VH &LHS, const VH &RHS) { argument
271 return LHS == RHS;
273 static bool isEqual(const KeyT &LHS, const VH &RHS) { argument
274 return LHS == RHS.getValPtr();
/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/tools/llvm-c-test/
H A Dcalc.c23 typedef LLVMValueRef (*binop_func_t)(LLVMBuilderRef, LLVMValueRef LHS,
/external/clang/lib/CodeGen/
H A DCGClass.cpp430 LValue LHS,
437 LValue LV = LHS;
442 llvm::Value *Dest = LHS.getAddress();
513 EmitAggMemberInitializer(CGF, LHS, Init, ArrayIndexVar,
546 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); local
553 LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(I));
556 LHS = CGF.EmitLValueForFieldInitialization(LHS, Field);
581 CGF.EmitAggregateCopy(LHS
429 EmitAggMemberInitializer(CodeGenFunction &CGF, LValue LHS, Expr *Init, llvm::Value *ArrayIndexVar, QualType T, ArrayRef<VarDecl *> ArrayIndexes, unsigned Index) argument
593 EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init, ArrayRef<VarDecl *> ArrayIndexes) argument
989 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); local
[all...]
/external/clang/lib/AST/
H A DExprConstant.cpp1086 static bool operator==(const MemberPtr &LHS, const MemberPtr &RHS) { argument
1087 if (!LHS.getDecl() || !RHS.getDecl())
1088 return !LHS.getDecl() && !RHS.getDecl();
1089 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
1091 return LHS.Path == RHS.Path;
1607 const APSInt &LHS, const APSInt &RHS,
1609 if (LHS.isUnsigned())
1610 return Op(LHS, RHS);
1612 APSInt Value(Op(LHS.extend(BitWidth), RHS.extend(BitWidth)), false);
1613 APSInt Result = Value.trunc(LHS
1606 CheckedIntArithmetic(EvalInfo &Info, const Expr *E, const APSInt &LHS, const APSInt &RHS, unsigned BitWidth, Operation Op) argument
1626 handleIntIntBinOp(EvalInfo &Info, const Expr *E, const APSInt &LHS, BinaryOperatorKind Opcode, APSInt RHS, APSInt &Result) argument
1725 handleFloatFloatBinOp(EvalInfo &Info, const Expr *E, APFloat &LHS, BinaryOperatorKind Opcode, const APFloat &RHS) argument
[all...]
/external/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp1983 LiveInterval &LHS = LIS->getInterval(CP.getDstReg()); local
1985 JoinVals LHSVals(LHS, CP.getDstIdx(), NewVNInfo, CP, LIS, TRI);
1988 << "\n\t\tLHS = " << LHS local
2018 // Join RHS into LHS.
2019 LHS.join(RHS, LHSVals.getAssignments(), RHSVals.getAssignments(), NewVNInfo);
2024 MRI->clearKillFlags(LHS.reg);
2033 << " points: " << LHS << '\n');
2034 LIS->extendToIndices(LHS, EndPoints);
2060 static int compareMBBPriority(const MBBPriorityInfo *LHS, argument
2063 if (LHS
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp194 ExprAST *LHS, *RHS; member in class:BinaryExprAST
197 : Op(op), LHS(lhs), RHS(rhs) {}
518 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { argument
526 return LHS;
537 // the pending operator take RHS as its LHS.
544 // Merge LHS/RHS.
545 LHS = new BinaryExprAST(BinOp, LHS, RHS);
553 ExprAST *LHS = ParseUnary(); local
554 if (!LHS) retur
[all...]
/external/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp169 Expr *LHS = BOE->getLHS();
170 if (ObjCIvarRefExpr *IV = dyn_cast<ObjCIvarRefExpr>(LHS)) {
/external/llvm/include/llvm/ADT/
H A DImmutableSet.h896 static inline bool isEqual(key_type_ref LHS, key_type_ref RHS) { argument
897 return std::equal_to<key_type>()(LHS,RHS);
900 static inline bool isLess(key_type_ref LHS, key_type_ref RHS) { argument
901 return std::less<key_type>()(LHS,RHS);
922 static inline bool isEqual(key_type_ref LHS, key_type_ref RHS) { argument
923 return LHS == RHS;
926 static inline bool isLess(key_type_ref LHS, key_type_ref RHS) { argument
927 return LHS < RHS;
H A DPointerIntPair.h177 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }

Completed in 997 milliseconds

1234567891011>>