/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 241 EI.getName()+".lhs"); 327 /// elements from either LHS or RHS, return the shuffle mask and true. 329 static bool CollectSingleShuffleElements(Value *V, Value *LHS, Value *RHS, 331 assert(LHS->getType() == RHS->getType() && 340 if (V == LHS) { 366 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { 375 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); 377 // This must be extracting from either LHS or RHS. 378 if (EI->getOperand(0) == LHS || EI->getOperand(0) == RHS) { 381 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) [all...] |
/external/clang/lib/Index/ |
CommentToXML.cpp | 33 bool operator()(const ParamCommandComment *LHS, 38 if (LHS->isParamIndexValid()) { 39 if (LHS->isVarArgParam()) 42 LHSIndex = LHS->getParamIndex(); 60 bool operator()(const TParamCommandComment *LHS, 63 if (!LHS->isPositionValid()) 68 if (LHS->getDepth() > 1) 74 if (LHS->getDepth() == 1 && RHS->getDepth() == 1) 75 return LHS->getIndex(0) < RHS->getIndex(0); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 82 const Expr *LHS = B->getLHS(); 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(); 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 is checked since RHS will be implicit casted to float [all...] |
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64ExternalSymbolizer.cpp | 196 const MCExpr *LHS; 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/ |
Reassociate.cpp | 56 inline bool operator<(const ValueEntry &LHS, const ValueEntry &RHS) { 57 return LHS.Rank > RHS.Rank; // Sort so that highest rank goes to start. 87 bool operator()(const Factor &LHS, const Factor &RHS) { 88 return LHS.Base < RHS.Base; 94 bool operator()(const Factor &LHS, const Factor &RHS) { 95 return LHS.Base == RHS.Base; 101 bool operator()(const Factor &LHS, const Factor &RHS) { 102 return LHS.Power > RHS.Power; 108 bool operator()(const Factor &LHS, const Factor &RHS) { 109 return LHS.Power == RHS.Power [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILISelLowering.cpp | 305 // Only known if known in both the LHS and RHS 493 SDValue LHS = Op.getOperand(0); 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); 577 // mov r0, LHS 590 // mov r0, LHS 591 SDValue r0 = LHS; 653 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILISelLowering.cpp | 305 // Only known if known in both the LHS and RHS 493 SDValue LHS = Op.getOperand(0); 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); 577 // mov r0, LHS 590 // mov r0, LHS 591 SDValue r0 = LHS; 653 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SymbolManager.h | 369 const SymExpr *LHS; 373 SymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op, 375 : BinarySymExpr(SymIntKind, op, t), LHS(lhs), RHS(rhs) {} 379 const SymExpr *getLHS() const { return LHS; } 382 static void Profile(llvm::FoldingSetNodeID& ID, const SymExpr *lhs, 386 ID.AddPointer(lhs); 393 Profile(ID, LHS, getOpcode(), RHS, getType()); 404 const llvm::APSInt& LHS; 408 IntSymExpr(const llvm::APSInt& lhs, BinaryOperator::Opcode op [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/include/cloog/ |
clast.h | 52 struct clast_expr* LHS; 82 const char * LHS; 114 struct clast_expr * LHS; 136 struct clast_expr *lhs, cloog_int_t rhs); 139 struct clast_assignment *new_clast_assignment(const char *lhs,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/cloog/ |
clast.h | 52 struct clast_expr* LHS; 82 const char * LHS; 114 struct clast_expr * LHS; 136 struct clast_expr *lhs, cloog_int_t rhs); 139 struct clast_assignment *new_clast_assignment(const char *lhs,
|
/external/clang/include/clang/Tooling/ |
Refactoring.h | 130 bool operator<(const Replacement &LHS, const Replacement &RHS); 133 bool operator==(const Replacement &LHS, const Replacement &RHS);
|
/external/llvm/include/llvm/ADT/ |
SmallBitVector.h | 575 operator&(const SmallBitVector &LHS, const SmallBitVector &RHS) { 576 SmallBitVector Result(LHS); 582 operator|(const SmallBitVector &LHS, const SmallBitVector &RHS) { 583 SmallBitVector Result(LHS); 589 operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) { 590 SmallBitVector Result(LHS); 600 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) { 601 LHS.swap(RHS);
|
ArrayRef.h | 321 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { 322 return LHS.equals(RHS); 326 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { 327 return !(LHS == RHS);
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachORelocationInfo.cpp | 87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); 101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
|
/external/llvm/unittests/ADT/ |
DenseMapTest.cpp | 66 static bool isEqual(const CtorTester &LHS, const CtorTester &RHS) { 67 return LHS == RHS; 329 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 330 return LHS == RHS; 332 static bool isEqual(const char* LHS, const unsigned& RHS) { 333 return (unsigned)(LHS[0] - 'a') == RHS; 365 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 366 return LHS == RHS;
|
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 454 /// 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 { 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 { 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); [all...] |
ScalarEvolutionExpander.cpp | 153 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, 678 if (LHS.second->getType()->isPointerTy() != 680 return LHS.second->getType()->isPointerTy(); 683 if (LHS.first != RHS.first) 684 return PickMostRelevantLoop(LHS.first, RHS.first, DT) != LHS.first [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64ISelLowering.cpp | [all...] |
/external/llvm/unittests/IR/ |
ConstantRangeTest.cpp | 242 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 = ConstantRange(APInt(32, 4), APInt(32, 2)) [all...] |
/external/llvm/lib/TableGen/ |
Record.cpp | 72 static bool isEqual(const TableGenStringKey& LHS, 74 return LHS.str() == RHS.str(); 740 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) { 744 Key TheKey(std::make_pair(std::make_pair(opc, lhs), Type)); 747 if (!I) I = new UnOpInit(opc, lhs, Type); 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)) { 856 Init *lhs = LHS->resolveReferences(R, RV); local 979 Init *lhs = LHS->resolveReferences(R, RV); local 1224 Init *lhs = LHS->resolveReferences(R, RV); local [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.cpp | 811 static SDValue EmitCMP(SDValue &LHS, SDValue &RHS, SDValue &TargetCC, 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); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
CheckedArithmetic.h | 230 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) 239 return (lhs ^ rhs) >= 0; 242 static inline bool add(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETUR [all...] |
/external/clang/include/clang/Basic/ |
SourceManager.h | 488 /// the specified LHS/RHS query. 491 bool isCacheValid(FileID LHS, FileID RHS) const { 492 return LQueryFID == LHS && RQueryFID == RHS; 496 /// specified offsets in the LHS/RHS FileID's. 515 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) { 516 assert(LHS != RHS); 517 LQueryFID = LHS; [all...] |
/external/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 66 Constant *LHS, Constant *RHS,
|
/external/llvm/include/llvm/IR/ |
PassManager.h | 74 friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) { 76 swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs); 219 friend void swap(PassModel &LHS, PassModel &RHS) { 221 swap(LHS.Pass, RHS.Pass); 245 friend void swap(PassModel &LHS, PassModel &RHS) { 247 swap(LHS.Pass, RHS.Pass); 321 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { 323 swap(LHS.Result, RHS.Result); 353 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { 355 swap(LHS.Result, RHS.Result) [all...] |