Searched refs:LHS (Results 251 - 275 of 298) sorted by relevance

<<1112

/external/clang/lib/CodeGen/
H A DCodeGenModule.h403 bool operator()(const GlobalInitData &LHS, argument
405 return LHS.first.priority < RHS.first.priority;
H A DCGExpr.cpp1454 llvm::Value *LHS = local
1456 llvm::Value *BytesBetween = Builder.CreateSub(LHS, RHS, "ivar.offset");
2308 LValue LHS = EmitLValue(E->getBase()); local
2309 assert(LHS.isSimple() && "Can only subscript lvalue vectors here!");
2310 return LValue::MakeVectorElt(LHS.getAddress(), Idx,
2311 E->getBase()->getType(), LHS.getAlignment());
3034 // Comma expressions just emit their LHS then their RHS as an l-value.
H A DCGBuiltin.cpp481 Value *LHS = EmitScalarExpr(E->getArg(0)); local
487 LHS = Builder.CreateFCmpOGT(LHS, RHS, "cmp");
490 LHS = Builder.CreateFCmpOGE(LHS, RHS, "cmp");
493 LHS = Builder.CreateFCmpOLT(LHS, RHS, "cmp");
496 LHS = Builder.CreateFCmpOLE(LHS, RHS, "cmp");
499 LHS
[all...]
/external/clang/tools/libclang/
H A DIndexing.cpp140 static bool isEqual(const PPRegion &LHS, const PPRegion &RHS) {
141 return LHS == RHS;
/external/llvm/include/llvm/IR/
H A DConstants.h1012 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS);
1013 static Constant *getFCmp(unsigned short pred, Constant *LHS, Constant *RHS);
H A DInstrTypes.h643 Value *LHS, Value *RHS, const Twine &Name = "",
647 Value *LHS, Value *RHS, const Twine &Name,
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp366 if (Value *LHS = FindLIVLoopCondition(BO->getOperand(0), L, Changed))
367 return LHS;
/external/clang/include/clang/AST/
H A DStmt.h682 enum { LHS, RHS, SUBSTMT, END_EXPR }; enumerator in enum:clang::CaseStmt::__anon17519
691 SubExprs[LHS] = reinterpret_cast<Stmt*>(lhs);
706 Expr *getLHS() { return reinterpret_cast<Expr*>(SubExprs[LHS]); }
711 return reinterpret_cast<const Expr*>(SubExprs[LHS]);
719 void setLHS(Expr *Val) { SubExprs[LHS] = reinterpret_cast<Stmt*>(Val); }
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp1927 static bool isEqual(const EditEntry &LHS, const EditEntry &RHS) { argument
1928 return LHS.File == RHS.File &&
1929 LHS.Offset == RHS.Offset &&
1930 LHS.RemoveLen == RHS.RemoveLen &&
1931 LHS.Text == RHS.Text;
/external/clang/lib/Frontend/
H A DASTUnit.cpp1287 bool operator==(const ASTUnit::PreambleFileHash &LHS, argument
1289 return LHS.Size == RHS.Size && LHS.ModTime == RHS.ModTime &&
1290 memcmp(LHS.MD5, RHS.MD5, sizeof(LHS.MD5)) == 0;
/external/clang/lib/Sema/
H A DSemaChecking.cpp4222 const Expr *LHS = BO->getLHS()->IgnoreParenCasts(); local
4225 Ex = LHS;
4226 else if (isa<IntegerLiteral>(LHS))
4575 // the RHS argument instead of the LHS.
4582 // For conditional operators we need to see if either the LHS or RHS are
4587 // Handle the GNU extension for missing LHS.
4592 if (Expr *LHS = EvalAddr(LHSExpr, refVars, ParentDecl))
4593 return LHS;
4748 // For conditional operators we need to see if either the LHS or RHS are
4752 // Handle the GNU extension for missing LHS
4840 CheckFloatComparison(SourceLocation Loc, Expr* LHS, Expr *RHS) argument
6685 SequenceTree::Seq LHS = Tree.allocate(Region); local
7568 checkUnsafeAssigns(SourceLocation Loc, QualType LHS, Expr *RHS) argument
7581 checkUnsafeExprAssigns(SourceLocation Loc, Expr *LHS, Expr *RHS) argument
[all...]
H A DSemaStmt.cpp166 // If the LHS is a plausible entity to assign to, provide a fixit hint to
521 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, argument
523 return LHS.first < RHS;
525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, argument
527 return LHS.first < RHS.first;
529 bool operator()(const llvm::APSInt &LHS, argument
531 return LHS < RHS.first;
807 // If the LHS is not the same type as the condition, insert an implicit
H A DSemaOverload.cpp2202 const ObjCInterfaceType* LHS = ToObjCPtr->getInterfaceType(); local
2204 if (getLangOpts().CPlusPlus && LHS && RHS &&
2463 QualType LHS = ToFunctionType->getReturnType(); local
2465 !RHS.hasQualifiers() && LHS.hasQualifiers())
2466 LHS = LHS.getUnqualifiedType();
2468 if (Context.hasSameType(RHS,LHS)) {
2470 } else if (isObjCPointerConversion(RHS, LHS,
10870 /// \param LHS Left-hand argument.
10876 Expr *LHS, Exp
10873 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp675 const Expr *LHS = Case->getLHS()->IgnoreParenCasts(); local
680 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) {
693 os << LHS->EvaluateKnownConstInt(PDB.getASTContext());
2845 bool operator()(const ExplodedNode *LHS, const ExplodedNode *RHS) const { argument
2846 PriorityMapTy::const_iterator LI = PriorityMap.find(LHS);
2859 bool operator()(const NodeIndexPair &LHS, const NodeIndexPair &RHS) const { argument
2860 return (*this)(LHS.first, RHS.first);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2885 /// AreMulWideOperandsDemotable - Checks if the given LHS and RHS operands can
2889 static bool AreMulWideOperandsDemotable(SDValue LHS, SDValue RHS, argument
2895 // The LHS operand must be a demotable op
2896 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign))
2899 // We should have been able to determine the signedness from the LHS
2943 SDValue LHS = N->getOperand(0); local
2948 if (isa<ConstantSDNode>(LHS)) {
2949 std::swap(LHS, RHS);
2972 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) {
2986 DCI.DAG.getNode(ISD::TRUNCATE, SDLoc(N), DemotedVT, LHS);
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1774 Value *LHS = vectorizeTree(LHSVL); local
1777 if (LHS == RHS && isa<Instruction>(LHS)) {
1785 Value *V = Builder.CreateBinOp(BinOp->getOpcode(), LHS, RHS);
1904 Value *LHS = vectorizeTree(LHSVL); local
1910 // Create a vector of LHS op1 RHS
1912 Value *V0 = Builder.CreateBinOp(BinOp0->getOpcode(), LHS, RHS);
1914 // Create a vector of LHS op2 RHS
1917 Value *V1 = Builder.CreateBinOp(BinOp1->getOpcode(), LHS, RHS);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp482 static bool isEqual(const ObjCSummaryKey& LHS, const ObjCSummaryKey& RHS) { argument
483 return LHS.getIdentifier() == RHS.getIdentifier() &&
484 LHS.getSelector() == RHS.getSelector();
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp1177 Constant *LHS = local
1185 Constant *Ops[] = { LHS, RHS };
1186 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD, TLI);
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp566 SDValue LHS = Op.getOperand(0); local
571 LHS, RHS);
583 SDValue LHS = Op.getOperand(0); local
587 DAG.getVTList(MVT::i32, MVT::i32), LHS, RHS,
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1003 Value *LHS = CI->getArgOperand(0), *RHS = CI->getArgOperand(1);
1005 if (LHS == RHS) // memcmp(s,s,x) -> 0
1016 // memcmp(S1,S2,1) -> *(unsigned char*)LHS - *(unsigned char*)RHS
1018 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"),
1027 if (getConstantStringInfo(LHS, LHSStr) &&
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp302 static bool LessTag(const AttributeItem &LHS, const AttributeItem &RHS) {
303 return (LHS.Tag < RHS.Tag);
/external/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp847 static bool CompareMBBNumbers(const MachineBasicBlock *LHS, argument
849 return LHS->getNumber() < RHS->getNumber();
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp272 [](StringMapEntry<GCOVLines *> *LHS,
274 return LHS->getKey() < RHS->getKey();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1609 bool SelectionDAGISel::CheckAndMask(SDValue LHS, ConstantSDNode *RHS, argument
1612 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS);
1625 if (CurDAG->MaskedValueIsZero(LHS, NeededMask))
1638 bool SelectionDAGISel::CheckOrMask(SDValue LHS, ConstantSDNode *RHS, argument
1641 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS);
1656 CurDAG->computeKnownBits(LHS, KnownZero, KnownOne);
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp994 const MCExpr *LHS = applyModifierToExpr(BE->getLHS(), Variant); local
997 if (!LHS && !RHS)
1000 if (!LHS)
1001 LHS = BE->getLHS();
1005 return MCBinaryExpr::Create(BE->getOpcode(), LHS, RHS, getContext());
1156 /// Res contains the LHS of the expression on input.
1176 // the pending operator take RHS as its LHS.
1182 // Merge LHS and RHS according to operator.
2189 // Validate that the LHS is allowed to be a variable (either it has not been

Completed in 673 milliseconds

<<1112