/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 703 SDValue getSetCC(SDLoc DL, EVT VT, SDValue LHS, SDValue RHS, argument 705 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() && 707 assert(LHS.getValueType().isVector() == VT.isVector() && 711 return getNode(ISD::SETCC, DL, VT, LHS, RHS, getCondCode(Cond)); 717 SDValue LHS, SDValue RHS) { 718 assert(LHS.getValueType() == RHS.getValueType() && 720 assert(VT.isVector() == LHS.getValueType().isVector() && 723 Cond, LHS, RHS); 729 SDValue getSelectCC(SDLoc DL, SDValue LHS, SDValue RHS, argument 732 LHS, RH 716 getSelect(SDLoc DL, EVT VT, SDValue Cond, SDValue LHS, SDValue RHS) argument [all...] |
H A D | MachineValueType.h | 598 bool operator!=(const mvt_iterator &LHS) const { return VT != LHS.VT; }
|
/external/llvm/lib/Target/R600/ |
H A D | R600ISelLowering.cpp | 1119 SDValue LHS = Op.getOperand(0); local 1128 SDValue MinMax = CombineFMinMaxLegacy(DL, VT, LHS, RHS, True, False, CC, DCI); 1133 // LHS and RHS are guaranteed to be the same value type 1134 EVT CompareVT = LHS.getValueType(); 1159 std::swap(LHS, RHS); 1168 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC); 1182 if (isZero(LHS)) { 1187 std::swap(LHS, RHS); 1195 std::swap(LHS, RHS); 1201 SDValue Cond = LHS; [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 2065 enum { LHS, RHS, END_EXPR=2 }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ArraySubscriptExpr::__anon594 2080 SubExprs[LHS] = lhs; 2095 /// the type of the RHS, as it is possible for the LHS to be a vector of 2097 Expr *getLHS() { return cast<Expr>(SubExprs[LHS]); } 2098 const Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); } 2099 void setLHS(Expr *E) { SubExprs[LHS] = E; } 2930 enum { LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryOperator::__anon596 2945 SubExprs[LHS] = lhs; 2962 Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); } 2963 void setLHS(Expr *E) { SubExprs[LHS] 3187 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ConditionalOperator::__anon597 3257 enum { COMMON, COND, LHS, RHS, NUM_SUBEXPRS }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryConditionalOperator::__anon598 3563 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ChooseExpr::__anon599 [all...] |
/external/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 453 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS, 470 static bool HasSameVirtualSignature(const CXXMethodDecl *LHS, argument 473 cast<FunctionProtoType>(LHS->getType().getCanonicalType()); 492 bool VCallOffsetMap::MethodsCanShareVCallOffset(const CXXMethodDecl *LHS, argument 494 assert(LHS->isVirtual() && "LHS must be virtual!"); 495 assert(RHS->isVirtual() && "LHS must be virtual!"); 498 if (isa<CXXDestructorDecl>(LHS)) 504 DeclarationName LHSName = LHS->getDeclName(); 510 return HasSameVirtualSignature(LHS, RH [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 186 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned); local 188 Res = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS); 594 Value *LHS = ICI->getOperand(0); local 599 computeKnownBits(LHS, KnownZeroLHS, KnownOneLHS, 0, &CI); 608 Value *Result = Builder->CreateXor(LHS, RHS); 852 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); local 854 if (LHS && RHS && LHS->hasOneUse() && RHS->hasOneUse() && 855 (transformZExtICmp(LHS, CI, false) || 857 Value *LCast = Builder->CreateZExt(LHS, C 1859 Value *LHS = Builder->CreateBitCast(SVI->getOperand(0), DestTy); local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleSValBuilder.cpp | 47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op, 209 SVal SimpleSValBuilder::MakeSymIntVal(const SymExpr *LHS, argument 271 // Wrap the LHS up in a NonLoc again and let evalCastFromNonLoc do the 274 return evalCastFromNonLoc(nonloc::SymbolVal(LHS), resultTy); 284 QualType SymbolType = LHS->getType(); 301 return makeNonLoc(LHS, op, *ConvertedRHS, resultTy); 426 // We only handle LHS as simple symbols or SymIntExprs. 429 // LHS is a symbolic expression. 481 // If both the LHS and the current expression are additive, 700 // This must come after the test if the LHS i [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 84 bool X86FastEmitCompare(const Value *LHS, const Value *RHS, EVT VT, DebugLoc DL); 1225 const Value *LHS = CI->getOperand(0); local 1234 RHS = LHS; 1251 if (!X86FastEmitCompare(LHS, RHS, VT, I->getDebugLoc())) 1273 std::swap(LHS, RHS); 1275 // Emit a compare of LHS/RHS. 1276 if (!X86FastEmitCompare(LHS, RHS, VT, I->getDebugLoc())) 1401 // Emit a compare of the LHS and RHS, setting the flags. 1788 // Emit a compare of the LHS and RHS, setting the flags. 1835 const Value *LHS local 1907 const Value *LHS = I->getOperand(1); local 2001 const Value *LHS = I->getOperand(1); local 2504 const Value *LHS = II->getArgOperand(0); local [all...] |
/external/llvm/lib/IR/ |
H A D | Constants.cpp | 434 ConstantExpr *LHS = dyn_cast<ConstantExpr>(CE->getOperand(0)); local 436 if (LHS && RHS && 437 LHS->getOpcode() == Instruction::PtrToInt && 439 isa<BlockAddress>(LHS->getOperand(0)) && 441 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == 2046 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, argument 2048 assert(LHS->getType() == RHS->getType()); 2052 if (Constant *FC = ConstantFoldCompareInstruction(pred, LHS, RHS)) 2059 Constant *ArgVec[] = { LHS, RHS }; 2063 Type *ResultTy = Type::getInt1Ty(LHS 2071 getFCmp(unsigned short pred, Constant *LHS, Constant *RHS, bool OnlyIfReduced) argument [all...] |
/external/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 245 friend bool operator==(const PreambleFileHash &LHS, 248 friend bool operator!=(const PreambleFileHash &LHS, argument 250 return !(LHS == RHS);
|
/external/clang/lib/Rewrite/ |
H A D | RewriteRope.cpp | 304 // 'WidthFactor' values to the LHS child (which we leave in this node) and 399 RopePieceBTreeInterior(RopePieceBTreeNode *LHS, RopePieceBTreeNode *RHS) 401 Children[0] = LHS; 404 Size = LHS->size() + RHS->size();
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1329 const MCExpr *LHS = local 1332 MCBinaryExpr::CreateSub(LHS, Base, OutContext)); 1770 const MCExpr *LHS = lowerConstant(CE->getOperand(0)); local 1774 case Instruction::Add: return MCBinaryExpr::CreateAdd(LHS, RHS, Ctx); 1775 case Instruction::Sub: return MCBinaryExpr::CreateSub(LHS, RHS, Ctx); 1776 case Instruction::Mul: return MCBinaryExpr::CreateMul(LHS, RHS, Ctx); 1777 case Instruction::SDiv: return MCBinaryExpr::CreateDiv(LHS, RHS, Ctx); 1778 case Instruction::SRem: return MCBinaryExpr::CreateMod(LHS, RHS, Ctx); 1779 case Instruction::Shl: return MCBinaryExpr::CreateShl(LHS, RHS, Ctx); 1780 case Instruction::And: return MCBinaryExpr::CreateAnd(LHS, RH [all...] |
H A D | DwarfAccelTable.cpp | 107 [] (HashData *LHS, HashData *RHS) { 108 return LHS->HashValue < RHS->HashValue;
|
/external/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 724 [this](int LHS, int RHS) { 726 if (LHS == -1) return false; 729 return MFI->getObjectSize(LHS) > MFI->getObjectSize(RHS);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 299 const SCEV *LHS = SE->getSCEV(BO->getOperand(0)); local 307 SE->getZeroExtendExpr(LHS, WideTy), SE->getZeroExtendExpr(RHS, WideTy), 319 SE->getSignExtendExpr(LHS, WideTy), SE->getSignExtendExpr(RHS, WideTy),
|
/external/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 820 static bool isEqual(clang::Selector LHS, clang::Selector RHS) { 821 return LHS == RHS;
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 249 static bool isEqual(const WeakObjectProfileTy &LHS, argument 251 return LHS == RHS;
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 688 const BinaryOperator *LHS = local 692 if (!LHS || !RHS) 695 if (!LHS->isComparisonOp() || !RHS->isComparisonOp()) 698 BinaryOperatorKind BO1 = LHS->getOpcode(); 700 dyn_cast<DeclRefExpr>(LHS->getLHS()->IgnoreParenImpCasts()); 702 dyn_cast<IntegerLiteral>(LHS->getRHS()->IgnoreParens()); 712 Decl1 = dyn_cast<DeclRefExpr>(LHS->getRHS()->IgnoreParenImpCasts()); 713 Literal1 = dyn_cast<IntegerLiteral>(LHS->getLHS()->IgnoreParens()); 866 TryResult LHS = tryEvaluateBool(Bop->getLHS()); local 867 if (LHS [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Instructions.h | 1042 Value *LHS, ///< The left-hand-side of the expression 1045 ) : CmpInst(makeCmpResultType(LHS->getType()), 1046 Instruction::ICmp, pred, LHS, RHS, NameStr, 1057 Value *LHS, ///< The left-hand-side of the expression 1060 ) : CmpInst(makeCmpResultType(LHS->getType()), 1061 Instruction::ICmp, pred, LHS, RHS, NameStr, 1071 Value *LHS, ///< The left-hand-side of the expression 1074 ) : CmpInst(makeCmpResultType(LHS->getType()), 1075 Instruction::ICmp, pred, LHS, RHS, NameStr) { 1174 Value *LHS, ///< Th 1039 ICmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1054 ICmpInst( BasicBlock &InsertAtEnd, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1069 ICmpInst( Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1171 FCmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1190 FCmpInst( BasicBlock &InsertAtEnd, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1209 FCmpInst( Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument [all...] |
/external/llvm/lib/Support/ |
H A D | StringRef.cpp | 41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument 43 unsigned char LHC = ascii_tolower(LHS[I]);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 139 SDValue LHS = GetScalarizedVector(N->getOperand(0)); local 142 LHS.getValueType(), LHS, RHS); 263 SDValue LHS = GetScalarizedVector(N->getOperand(0)); local 265 LHS, DAG.getValueType(ExtVT)); 280 SDValue LHS = GetScalarizedVector(N->getOperand(1)); local 324 LHS.getValueType(), Cond, LHS, 329 SDValue LHS = GetScalarizedVector(N->getOperand(1)); local 331 LHS 336 SDValue LHS = GetScalarizedVector(N->getOperand(2)); local 375 SDValue LHS = N->getOperand(0); local [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 897 Init *LHS; member in class:llvm::UnOpInit 900 : OpInit(IK_UnOpInit, Type), Opc(opc), LHS(lhs) {} 925 Init *getOperand() const { return LHS; } 944 Init *LHS, *RHS; member in class:llvm::BinOpInit 947 OpInit(IK_BinOpInit, Type), Opc(opc), LHS(lhs), RHS(rhs) {} 977 Init *getLHS() const { return LHS; } 997 Init *LHS, *MHS, *RHS; member in class:llvm::TernOpInit 1001 OpInit(IK_TernOpInit, Type), Opc(opc), LHS(lhs), MHS(mhs), RHS(rhs) {} 1036 Init *getLHS() const { return LHS; } 1727 bool operator()(const Record *LHS, cons argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 170 // If the LHS is a plausible entity to assign to, provide a fixit hint to 375 ExprResult LHS = local 388 if (LHS.isInvalid()) 390 LHSVal = LHS.get(); 409 LHS = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, 411 if (LHS.isInvalid()) 421 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); 520 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, argument 522 return LHS.first < RHS; 524 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, argument 528 operator ()(const llvm::APSInt &LHS, const std::pair<llvm::APSInt, CaseStmt*> &RHS) argument 3445 operator ==(const CatchHandlerType &LHS, const CatchHandlerType &RHS) argument 3471 isEqual(const CatchHandlerType &LHS, const CatchHandlerType &RHS) argument [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 933 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) { argument 934 LHS.swap(RHS); 940 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) { argument 941 LHS.swap(RHS);
|
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 205 Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS, Value *RHS);
|