/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 285 SDValue ReassociateOps(unsigned Opc, SDLoc DL, SDValue LHS, SDValue RHS); 289 bool SimplifySelectOps(SDNode *SELECT, SDValue LHS, SDValue RHS); 298 bool isSetCCEquivalent(SDValue N, SDValue &LHS, SDValue &RHS, 315 SDNode *MatchRotate(SDValue LHS, SDValue RHS, SDLoc DL); 592 // equivalent to a setcc. Also, set the incoming LHS, RHS, and CC references to 595 bool DAGCombiner::isSetCCEquivalent(SDValue N, SDValue &LHS, SDValue &RHS, argument 598 LHS = N.getOperand(0); 609 LHS = N.getOperand(0); 1588 // If all possibly-set bits on the LHS are clear on the RHS, return an OR. 1589 // If all possibly-set bits on the RHS are clear on the LHS, retur 3591 MatchRotate(SDValue LHS, SDValue RHS, SDLoc DL) argument 3698 SDValue LHS, RHS, CC; local 3771 SDValue LHS = N0.getOperand(0), RHS = N0.getOperand(1); local 3783 SDValue LHS = N0.getOperand(0), RHS = N0.getOperand(1); local 4617 SDValue LHS = N->getOperand(1); local 4674 SDValue LHS = N0.getOperand(0), RHS = N0.getOperand(1); local 10804 SDValue LHS = N->getOperand(0); local 10849 SDValue LHS = N->getOperand(0); local 10996 SimplifySelectOps(SDNode *TheSelect, SDValue LHS, SDValue RHS) argument [all...] |
H A D | LegalizeFloatTypes.cpp | 182 SDValue LHS = GetSoftenedFloat(N->getOperand(0)); local 186 EVT LVT = LHS.getValueType(); 217 LHS = DAG.getNode(ISD::AND, dl, LVT, LHS, Mask); 220 return DAG.getNode(ISD::OR, dl, LVT, LHS, SignBit); 544 SDValue LHS = GetSoftenedFloat(N->getOperand(1)); local 547 LHS.getValueType(), N->getOperand(0), LHS, RHS); 551 SDValue LHS = GetSoftenedFloat(N->getOperand(2)); local 554 LHS [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 2064 enum { LHS, RHS, END_EXPR=2 }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ArraySubscriptExpr::__anon17502 2079 SubExprs[LHS] = lhs; 2094 /// the type of the RHS, as it is possible for the LHS to be a vector of 2096 Expr *getLHS() { return cast<Expr>(SubExprs[LHS]); } 2097 const Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); } 2098 void setLHS(Expr *E) { SubExprs[LHS] = E; } 2926 enum { LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryOperator::__anon17504 2941 SubExprs[LHS] = lhs; 2958 Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); } 2959 void setLHS(Expr *E) { SubExprs[LHS] 3183 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ConditionalOperator::__anon17505 3253 enum { COMMON, COND, LHS, RHS, NUM_SUBEXPRS }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::BinaryConditionalOperator::__anon17506 3559 enum { COND, LHS, RHS, END_EXPR }; enumerator in enum:clang::StringLiteral::OffsetOfExpr::ChooseExpr::__anon17507 [all...] |
/external/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 452 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS, 469 static bool HasSameVirtualSignature(const CXXMethodDecl *LHS, argument 472 cast<FunctionProtoType>(LHS->getType().getCanonicalType()); 491 bool VCallOffsetMap::MethodsCanShareVCallOffset(const CXXMethodDecl *LHS, argument 493 assert(LHS->isVirtual() && "LHS must be virtual!"); 494 assert(RHS->isVirtual() && "LHS must be virtual!"); 497 if (isa<CXXDestructorDecl>(LHS)) 503 DeclarationName LHSName = LHS->getDeclName(); 509 return HasSameVirtualSignature(LHS, RH [all...] |
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 953 SDValue LHS = N->getOperand(0); local 960 !((LHS == True && RHS == False) || (LHS == False && RHS == True))) { 985 unsigned Opc = (LHS == True) ? AMDGPUISD::FMIN : AMDGPUISD::FMAX; 986 return DAG.getNode(Opc, DL, VT, LHS, RHS); 994 unsigned Opc = (LHS == True) ? AMDGPUISD::FMAX : AMDGPUISD::FMIN; 995 return DAG.getNode(Opc, DL, VT, LHS, RHS); 1282 SDValue LHS = Op.getOperand(0); local 1298 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); 1309 // int ia = (int)LHS; 1363 SDValue LHS = Op.getOperand(0); local 1450 SDValue LHS = Op.getOperand(0); local 1636 SDValue LHS = Op.getOperand(0); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 189 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned); local 191 Res = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS); 599 Value *LHS = ICI->getOperand(0); local 604 computeKnownBits(LHS, KnownZeroLHS, KnownOneLHS); 613 Value *Result = Builder->CreateXor(LHS, RHS); 853 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); local 855 if (LHS && RHS && LHS->hasOneUse() && RHS->hasOneUse() && 856 (transformZExtICmp(LHS, CI, false) || 858 Value *LCast = Builder->CreateZExt(LHS, C 1897 Value *LHS = Builder->CreateBitCast(SVI->getOperand(0), DestTy); local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 299 // If the result of the assignment is used, copy the LHS there also. 793 // about the LHS. 849 // If the LHS might be a __block variable, and the RHS can 859 // Now emit the LHS and copy into it. 860 LValue LHS = CGF.EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); local 862 // That copy is an atomic copy if the LHS is atomic. 863 if (LHS.getType()->isAtomicType()) { 864 CGF.EmitAtomicStore(Dest.asRValue(), LHS, /*isInit*/ false); 869 AggValueSlot::forLValue(LHS, AggValueSlot::IsDestructed, 876 LValue LHS 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 | 81 bool X86FastEmitCompare(const Value *LHS, const Value *RHS, EVT VT); 1219 const Value *LHS = CI->getOperand(0); local 1228 RHS = LHS; 1245 if (!X86FastEmitCompare(LHS, RHS, VT)) 1267 std::swap(LHS, RHS); 1269 // Emit a compare of LHS/RHS. 1270 if (!X86FastEmitCompare(LHS, RHS, VT)) 1396 // Emit a compare of the LHS and RHS, setting the flags. 1783 // Emit a compare of the LHS and RHS, setting the flags. 1830 const Value *LHS local 1904 const Value *LHS = I->getOperand(1); local 1979 const Value *LHS = I->getOperand(1); local 2385 const Value *LHS = I.getArgOperand(0); local [all...] |
H A D | X86ISelLowering.cpp | 3537 /// specific condition code, returning the condition code and the LHS/RHS of the 3540 SDValue &LHS, SDValue &RHS, SelectionDAG &DAG) { 3576 // If LHS is a foldable load, but RHS is not, flip the condition. 3577 if (ISD::isNON_EXTLoad(LHS.getNode()) && 3580 std::swap(LHS, RHS); 3589 std::swap(LHS, RHS); 9638 SDValue LHS = Op.getOperand(1); 9668 LHS = DAG.getNode(ISD::BITCAST, dl, VT, LHS); 9672 SDValue Ret = DAG.getNode(X86ISD::BLENDI, dl, BlendVT, LHS, RH 3539 TranslateX86CC(ISD::CondCode SetCCOpcode, bool isFP, SDValue &LHS, SDValue &RHS, SelectionDAG &DAG) argument [all...] |
/external/llvm/lib/IR/ |
H A D | Constants.cpp | 389 ConstantExpr *LHS = dyn_cast<ConstantExpr>(CE->getOperand(0)); local 391 if (LHS && RHS && 392 LHS->getOpcode() == Instruction::PtrToInt && 394 isa<BlockAddress>(LHS->getOperand(0)) && 396 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == 1943 ConstantExpr::getICmp(unsigned short pred, Constant *LHS, Constant *RHS) { argument 1944 assert(LHS->getType() == RHS->getType()); 1948 if (Constant *FC = ConstantFoldCompareInstruction(pred, LHS, RHS)) 1952 Constant *ArgVec[] = { LHS, RHS }; 1956 Type *ResultTy = Type::getInt1Ty(LHS 1965 getFCmp(unsigned short pred, Constant *LHS, Constant *RHS) 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/Core/ |
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 | 1190 const MCExpr *LHS = local 1193 MCBinaryExpr::CreateSub(LHS, Base, OutContext)); 1661 const MCExpr *LHS = lowerConstant(CE->getOperand(0), AP); local 1665 case Instruction::Add: return MCBinaryExpr::CreateAdd(LHS, RHS, Ctx); 1666 case Instruction::Sub: return MCBinaryExpr::CreateSub(LHS, RHS, Ctx); 1667 case Instruction::Mul: return MCBinaryExpr::CreateMul(LHS, RHS, Ctx); 1668 case Instruction::SDiv: return MCBinaryExpr::CreateDiv(LHS, RHS, Ctx); 1669 case Instruction::SRem: return MCBinaryExpr::CreateMod(LHS, RHS, Ctx); 1670 case Instruction::Shl: return MCBinaryExpr::CreateShl(LHS, RHS, Ctx); 1671 case Instruction::And: return MCBinaryExpr::CreateAnd(LHS, RH [all...] |
/external/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 723 [this](int LHS, int RHS) { 725 if (LHS == -1) return false; 728 return MFI->getObjectSize(LHS) > MFI->getObjectSize(RHS);
|
H A D | MachineSink.cpp | 548 [this](const MachineBasicBlock *LHS, const MachineBasicBlock *RHS) { 549 return LI->getLoopDepth(LHS) < LI->getLoopDepth(RHS);
|
H A D | StackSlotColoring.cpp | 131 bool operator()(LiveInterval* LHS, LiveInterval* RHS) const { argument 132 return LHS->weight > RHS->weight;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SampleProfile.cpp | 100 static inline bool isEqual(InstructionLocation LHS, InstructionLocation RHS) { argument 101 return LHS.LineOffset == RHS.LineOffset && 102 LHS.Discriminator == RHS.Discriminator;
|
/external/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 806 static bool isEqual(clang::Selector LHS, clang::Selector RHS) { 807 return LHS == RHS;
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 242 static bool isEqual(const WeakObjectProfileTy &LHS, argument 244 return LHS == RHS;
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 618 const BinaryOperator *LHS = local 622 if (!LHS || !RHS) 625 if (!LHS->isComparisonOp() || !RHS->isComparisonOp()) 628 BinaryOperatorKind BO1 = LHS->getOpcode(); 630 dyn_cast<DeclRefExpr>(LHS->getLHS()->IgnoreParenImpCasts()); 632 dyn_cast<IntegerLiteral>(LHS->getRHS()->IgnoreParens()); 642 Decl1 = dyn_cast<DeclRefExpr>(LHS->getRHS()->IgnoreParenImpCasts()); 643 Literal1 = dyn_cast<IntegerLiteral>(LHS->getLHS()->IgnoreParens()); 796 TryResult LHS = tryEvaluateBool(Bop->getLHS()); local 797 if (LHS [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Instructions.h | 998 Value *LHS, ///< The left-hand-side of the expression 1001 ) : CmpInst(makeCmpResultType(LHS->getType()), 1002 Instruction::ICmp, pred, LHS, RHS, NameStr, 1013 Value *LHS, ///< The left-hand-side of the expression 1016 ) : CmpInst(makeCmpResultType(LHS->getType()), 1017 Instruction::ICmp, pred, LHS, RHS, NameStr, 1027 Value *LHS, ///< The left-hand-side of the expression 1030 ) : CmpInst(makeCmpResultType(LHS->getType()), 1031 Instruction::ICmp, pred, LHS, RHS, NameStr) { 1130 Value *LHS, ///< Th 995 ICmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1010 ICmpInst( BasicBlock &InsertAtEnd, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1025 ICmpInst( Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1127 FCmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1146 FCmpInst( BasicBlock &InsertAtEnd, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument 1165 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/include/llvm/TableGen/ |
H A D | Record.h | 888 Init *LHS; member in class:llvm::UnOpInit 891 : OpInit(IK_UnOpInit, Type), Opc(opc), LHS(lhs) {} 916 Init *getOperand() const { return LHS; } 935 Init *LHS, *RHS; member in class:llvm::BinOpInit 938 OpInit(IK_BinOpInit, Type), Opc(opc), LHS(lhs), RHS(rhs) {} 968 Init *getLHS() const { return LHS; } 988 Init *LHS, *MHS, *RHS; member in class:llvm::TernOpInit 992 OpInit(IK_TernOpInit, Type), Opc(opc), LHS(lhs), MHS(mhs), RHS(rhs) {} 1027 Init *getLHS() const { return LHS; } 1716 bool operator()(const Record *LHS, cons argument [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 3841 LocTy Loc; Value *LHS, *RHS; 3842 if (ParseTypeAndValue(LHS, Loc, PFS) || 3844 ParseValue(LHS->getType(), RHS, PFS)) 3851 Valid = LHS->getType()->isIntOrIntVectorTy() || 3852 LHS->getType()->isFPOrFPVectorTy(); 3854 case 1: Valid = LHS->getType()->isIntOrIntVectorTy(); break; 3855 case 2: Valid = LHS->getType()->isFPOrFPVectorTy(); break; 3861 Inst = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS); 3869 LocTy Loc; Value *LHS, *RHS; 3870 if (ParseTypeAndValue(LHS, Lo [all...] |