/external/llvm/lib/Transforms/Scalar/ |
InductiveRangeCheckElimination.cpp | 282 Value *LHS = ICI->getOperand(0); 290 std::swap(LHS, RHS); 294 Index = LHS; 300 std::swap(LHS, RHS); 304 Index = LHS; 308 if (IsNonNegativeAndNotLoopVarying(LHS)) { 310 Length = LHS; 316 std::swap(LHS, RHS); 319 if (IsNonNegativeAndNotLoopVarying(LHS)) { 321 Length = LHS; [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGStmtOpenMP.cpp | 695 // Store the address of the original variable associated with the LHS [all...] |
CGClass.cpp | 565 LValue LHS, 572 LValue LV = LHS; 577 llvm::Value *Dest = LHS.getPointer(); 645 EmitAggMemberInitializer(CGF, LHS, Init, ArrayIndexVar, 682 LValue &LHS) { 688 LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(I)); 690 LHS = CGF.EmitLValueForFieldInitialization(LHS, Field); 710 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy) [all...] |
CGExprScalar.cpp | 45 Value *LHS; 454 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); 457 return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul"); 468 if (Ops.LHS->getType()->isFPOrFPVectorTy()) 469 return Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); 470 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); 479 // Common helper for getting how wide LHS of shift is. 480 static Value *GetWidthMinusOneValue(Value* LHS,Value* RHS); 488 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); 491 return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor") 2399 llvm::Value *lhs = Builder.CreateSExt(Ops.LHS, CGF.Int64Ty); local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BugReporter.cpp | 671 const Expr *LHS = Case->getLHS()->IgnoreParenCasts(); 676 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) { 689 os << LHS->EvaluateKnownConstInt(PDB.getASTContext()); [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 142 bool llvm::haveNoCommonBitsSet(Value *LHS, Value *RHS, const DataLayout &DL, 145 assert(LHS->getType() == RHS->getType() && 146 "LHS and RHS should have the same type"); 147 assert(LHS->getType()->isIntOrIntVectorTy() && 148 "LHS and RHS should be integers"); 149 IntegerType *IT = cast<IntegerType>(LHS->getType()->getScalarType()); 152 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, 0, AC, CxtI, DT); 268 // Sum = LHS + ~RHS + 1 514 template<typename LHS, typename RHS> 515 inline match_combine_or<CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate> [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64FastISel.cpp | 159 unsigned emitAddSub(bool UseAdd, MVT RetVT, const Value *LHS, 181 bool emitCmp(const Value *LHS, const Value *RHS, bool IsZExt); 182 bool emitICmp(MVT RetVT, const Value *LHS, const Value *RHS, bool IsZExt); 184 bool emitFCmp(MVT RetVT, const Value *LHS, const Value *RHS); 191 unsigned emitAdd(MVT RetVT, const Value *LHS, const Value *RHS, 195 unsigned emitSub(MVT RetVT, const Value *LHS, const Value *RHS, 204 unsigned emitLogicalOp(unsigned ISDOpc, MVT RetVT, const Value *LHS, 613 const Value *LHS = U->getOperand(0); 616 if (isa<ConstantInt>(LHS)) 617 std::swap(LHS, RHS) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelDAGToDAG.cpp | 136 SDValue SelectCC(SDValue LHS, SDValue RHS, ISD::CondCode CC, SDLoc dl); 538 // If the LHS has a foldable shift and the RHS does not, then swap it to the [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 85 bool X86FastEmitCompare(const Value *LHS, const Value *RHS, EVT VT, DebugLoc DL); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 123 case ICmpInst::ICMP_SLT: // True if LHS s< 0 126 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 129 case ICmpInst::ICMP_SGT: // True if LHS s> -1 133 // True if LHS u> RHS and RHS == high-bit-mask - 1 137 // True if LHS u>= RHS and RHS == high-bit-mask (2^7, 2^15, 2^31, etc) 599 /// else. At this point we know that the GEP is on the LHS of the comparison. 659 // spaces, the LHS and RHS pointers are different sized [all...] |
InstructionCombining.cpp | 422 /// SHL(X, 2) to MUL(X, 4) i.e. returns Instruction::Mul with LHS set to 'X' and 426 BinaryOperator *Op, Value *&LHS, Value *&RHS) { 430 LHS = Op->getOperand(0); 466 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 484 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) 504 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) 505 V = Builder->CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); 523 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)) 555 Value *LHS = I.getOperand(0), *RHS = I.getOperand(1); 556 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |
/external/clang/include/clang/AST/ |
Stmt.h | 679 enum { LHS, RHS, SUBSTMT, END_EXPR }; 683 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, 687 SubExprs[LHS] = reinterpret_cast<Stmt*>(lhs); 702 Expr *getLHS() { return reinterpret_cast<Expr*>(SubExprs[LHS]); } 707 return reinterpret_cast<const Expr*>(SubExprs[LHS]); 715 void setLHS(Expr *Val) { SubExprs[LHS] = reinterpret_cast<Stmt*>(Val); } [all...] |
/external/clang/lib/Analysis/ |
CFG.cpp | 760 const BinaryOperator *LHS = 764 if (!LHS || !RHS) 767 if (!LHS->isComparisonOp() || !RHS->isComparisonOp()) 773 std::tie(Decl1, BO1, Expr1) = tryNormalizeBinaryOperator(LHS); [all...] |
/external/clang/lib/Sema/ |
SemaOverload.cpp | [all...] |
SemaStmt.cpp | 171 // If the LHS is a plausible entity to assign to, provide a fixit hint to 385 ExprResult LHS = 398 if (LHS.isInvalid()) 400 LHSVal = LHS.get(); 419 LHS = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, 421 if (LHS.isInvalid()) 431 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); 525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, 527 return LHS.first < RHS; 529 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeIntegerTypes.cpp | 539 SDValue LHS = SExtPromotedInteger(N->getOperand(0)); 542 EVT NVT = LHS.getValueType(); 547 SDValue Res = DAG.getNode(Opcode, dl, NVT, LHS, RHS); 563 SDValue LHS = GetPromotedInteger(N->getOperand(1)); 566 LHS.getValueType(), N->getOperand(0), LHS, RHS); 575 SDValue LHS = GetPromotedInteger(N->getOperand(1)); 578 LHS.getValueType(), Mask, LHS, RHS); 582 SDValue LHS = GetPromotedInteger(N->getOperand(2)) [all...] |
LegalizeVectorTypes.cpp | 146 SDValue LHS = GetScalarizedVector(N->getOperand(0)); 149 LHS.getValueType(), LHS, RHS, N->getFlags()); 271 SDValue LHS = GetScalarizedVector(N->getOperand(0)); 273 LHS, DAG.getValueType(ExtVT)); 288 SDValue LHS = GetScalarizedVector(N->getOperand(1)); 332 LHS.getValueType(), Cond, LHS, 337 SDValue LHS = GetScalarizedVector(N->getOperand(1)); 339 LHS.getValueType(), N->getOperand(0), LHS [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUISelLowering.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 784 bool operator()(const ConstantInt *LHS, const ConstantInt *RHS) const { 785 return LHS->getValue().ult(RHS->getValue()); 792 const ConstantInt *LHS = *P1; 794 if (LHS->getValue().ult(RHS->getValue())) 796 if (LHS->getValue() == RHS->getValue()) [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | [all...] |