Searched defs:RV (Results 1 - 25 of 35) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext()); local
50 if (!RV.isConstant() || RV.isZeroConstant())
H A DPointerArithChecker.cpp42 SVal RV = state->getSVal(B->getRHS(), LCtx); local
46 if (!LR || !RV.isConstant())
H A DPointerSubChecker.cpp45 SVal RV = state->getSVal(B->getRHS(), LCtx); local
48 const MemRegion *RR = RV.getAsRegion();
H A DCStringChecker.cpp1069 DefinedOrUnknownSVal RV = local
1073 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV);
1674 DefinedOrUnknownSVal RV = cast<DefinedOrUnknownSVal>(s2Val); local
1678 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV);
/external/clang/test/Parser/
H A Dcxx-reference.cpp21 typedef int && RV; // expected-warning {{rvalue references are a C++11 extension}} typedef
/external/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp182 Value *RV = RetVals[i]; local
183 if (!RV)
200 if (isa<UndefValue>(RV)) {
206 if (RV == V)
/external/clang/lib/AST/
H A DExprClassification.cpp418 const RValueReferenceType *RV = T->getAs<RValueReferenceType>(); local
419 if (!RV) // Could still be a class temporary, though.
422 return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue;
/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp143 RValue RV, QualType ResultType) {
144 CGF.EmitReturnOfRValue(RV, ResultType);
142 EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResultType) argument
H A DCGDeclCXX.cpp144 RValue RV = EmitReferenceBindingToExpr(Init, &D); local
145 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T);
H A DCGCall.h48 RValue RV; member in struct:clang::CodeGen::CallArg
52 : RV(rv), Ty(ty), NeedsCopy(needscopy)
H A DCGVTables.cpp179 QualType ResultType, RValue RV,
188 llvm::Value *ReturnValue = RV.getScalarVal();
292 RValue RV = RValue::get(T->getOperand(0)); local
295 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk);
296 Builder.CreateRet(RV.getScalarVal());
381 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD); local
384 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk);
387 CGM.getCXXABI().EmitReturnFromThunk(*this, RV, ResultTyp
178 PerformReturnAdjustment(CodeGenFunction &CGF, QualType ResultType, RValue RV, const ThunkInfo &Thunk) argument
[all...]
H A DItaniumCXXABI.cpp149 void EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResTy);
786 RValue RV, QualType ResultType) {
788 return ItaniumCXXABI::EmitReturnFromThunk(CGF, RV, ResultType);
785 EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResultType) argument
H A DCGCall.cpp1456 llvm::Value *RV = 0; local
1487 RV = SI->getValueOperand();
1498 RV = Builder.CreateLoad(ReturnValue);
1510 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this);
1519 RV = emitAutoreleaseOfResult(*this, RV);
1531 llvm::Instruction *Ret = RV ? Builder.CreateRet(RV) : Builder.CreateRetVoid();
1787 void CodeGenFunction::ExpandTypeToArgs(QualType Ty, RValue RV, argument
1793 llvm::Value *Addr = RV
1895 RValue RV = I->RV; local
[all...]
H A DCGClass.cpp1772 RValue RV = EmitCall(CalleeFnInfo, Callee, Slot, CallArgs, CallOperator); local
1776 EmitReturnOfRValue(RV, ResultType);
H A DCGExprAgg.cpp650 RValue RV = CGF.EmitCallExpr(E, getReturnValueSlot()); local
651 EmitMoveFromReturnSlot(E, RV);
655 RValue RV = CGF.EmitObjCMessageExpr(E, getReturnValueSlot()); local
656 EmitMoveFromReturnSlot(E, RV);
852 RValue RV = CGF.EmitReferenceBindingToExpr(E, /*InitializedDecl=*/0); local
853 CGF.EmitStoreThroughLValue(RV, LV);
H A DCGExprCXX.cpp1059 RValue RV = AllocSize.restore(CGF); local
1060 DeleteArgs.add(RV, *AI++);
1065 RValue RV = getPlacementArgs()[I].restore(CGF); local
1066 DeleteArgs.add(RV, *AI++);
1093 Cleanup->setPlacementArg(I, NewArgs[I+1].RV);
1112 DominatingValue<RValue>::save(CGF, NewArgs[I+1].RV));
1178 RValue RV; local
1181 RV = allocatorArgs[1].RV;
1185 RV
[all...]
H A DCGStmt.cpp204 RValue RV; local
206 RV = RValue::get(0);
220 RV = EmitAnyExpr(cast<Expr>(LastStmt), AggSlot);
223 return RV;
728 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { argument
729 if (RV.isScalar()) {
730 Builder.CreateStore(RV.getScalarVal(), ReturnValue);
731 } else if (RV.isAggregate()) {
732 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty);
734 StoreComplexToAddr(RV
744 const Expr *RV = S.getRetValue(); local
[all...]
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp1153 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); local
1164 for (unsigned i = 0, e = RV.size(); i != e; ++i) {
1165 Record *R = RV[i];
1243 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); local
1249 for (unsigned i = 0, e = RV.size(); i != e; ++i) {
1250 Record *R = RV[i];
1288 for (unsigned i = 0, e = RV.size(); i != e; ++i) {
1289 Record *R = RV[i];
1385 for (unsigned i = 0, e = RV.size(); i != e; ++i) {
1386 Record *R = RV[
1542 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); local
[all...]
/external/llvm/lib/CodeGen/
H A DMachineVerifier.cpp88 // Add Reg and any sub-registers to RV
89 void addRegWithSubRegs(RegVector &RV, unsigned Reg) { argument
90 RV.push_back(Reg);
93 RV.push_back(*R);
/external/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp1905 const DenseMap<Function*, LatticeVal> &RV = Solver.getTrackedRetVals(); local
1906 for (DenseMap<Function*, LatticeVal>::const_iterator I = RV.begin(),
1907 E = RV.end(); I != E; ++I) {
/external/llvm/include/llvm/TableGen/
H A DRecord.h499 virtual Init *getFieldInit(Record &R, const RecordVal *RV, argument
509 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const {
548 virtual Init *resolveBitReference(Record &R, const RecordVal *RV,
554 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
642 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
673 virtual Init *resolveBitReference(Record &R, const RecordVal *RV, argument
681 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, argument
716 virtual Init *resolveBitReference(Record &R, const RecordVal *RV, argument
724 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, argument
768 virtual Init *resolveReferences(Record &R, const RecordVal *RV) cons
784 resolveBitReference(Record &R, const RecordVal *RV, unsigned Bit) const argument
1129 resolveBitReference(Record &R, const RecordVal *RV, unsigned Bit) const argument
1137 resolveListElementReference(Record &R, const RecordVal *RV, unsigned Elt) const argument
1293 operator <<(raw_ostream &OS, const RecordVal &RV) argument
1393 addValue(const RecordVal &RV) argument
[all...]
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp484 const Value *LV = LU->getValue(), *RV = RU->getValue(); local
489 RIsPointer = RV->getType()->isPointerTy();
495 RID = RV->getValueID();
501 const Argument *RA = cast<Argument>(RV);
509 const Instruction *RInst = cast<Instruction>(RV);
5115 Constant *RV = getConstantEvolutionLoopExitValue(PN,
5118 if (RV) return getSCEV(RV);
/external/llvm/lib/TableGen/
H A DRecord.cpp525 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const {
535 CurBit = CurBit->resolveReferences(R, RV);
641 Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) const {
652 CurElt = CurElt->resolveReferences(R, RV);
759 if (const RecordVal *RV = CurRec->getValue(Name)) {
760 if (RV->getType() != getType())
762 return VarInit::get(Name, RV->getType());
769 const RecordVal *RV = CurRec->getValue(TemplateArgName); local
770 assert(RV && "Template arg doesn't exist??");
772 if (RV
783 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); local
1382 getFieldInit(Record &R, const RecordVal *RV, const std::string &FieldName) const argument
1459 resolveBitReference(Record &R, const RecordVal *RV, unsigned Bit) const argument
1466 resolveListElementReference(Record &R, const RecordVal *RV, unsigned Elt) const argument
1494 getFieldInit(Record &R, const RecordVal *RV, const std::string &FieldName) const argument
1516 resolveBitReference(Record &R, const RecordVal *RV, unsigned Bit) const argument
1529 resolveListElementReference(Record &R, const RecordVal *RV, unsigned Elt) const argument
1749 resolveReferencesTo(const RecordVal *RV) argument
1774 const RecordVal *RV = R.getValue(TArgs[i]); local
[all...]
H A DTGParser.cpp63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { argument
67 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) {
69 if (ERV->setValue(RV.getValue()))
70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" +
71 RV.getType()->getAsString() + "' is incompatible with " +
75 CurRec->addValue(RV);
88 RecordVal *RV = CurRec->getValue(ValName); local
89 if (RV == 0)
105 BitsInit *CurVal = dynamic_cast<BitsInit*>(RV->getValue());
139 if (RV
792 const RecordVal *RV = CurRec->getValue(TemplateArgName); local
803 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); local
1635 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); local
1656 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); local
1975 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]); local
2381 const RecordVal *RV = CurMultiClass->Rec.getValue(TA[i]); local
[all...]
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2058 const Value *RV = Ret->getOperand(0); local
2059 unsigned Reg = getRegForValue(RV);
2077 EVT RVVT = TLI.getValueType(RV->getType());
2365 bool RV; local
2367 RV = ARMEmitLoad(VT, ResultReg, Src);
2368 assert (RV == true && "Should be able to handle this load.");
2369 RV = ARMEmitStore(VT, ResultReg, Dest);
2370 assert (RV == true && "Should be able to handle this store.");
2371 (void)RV;

Completed in 724 milliseconds

12