Home
last modified time | relevance | path

Searched refs:RV (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/TableGen/
DRecord.cpp506 static Init *fixBitInit(const RecordVal *RV, Init *Before, Init *After) { in fixBitInit() argument
507 if (RV || After != UnsetInit::get()) in fixBitInit()
515 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
532 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
542 CurBitVar = CurBitVar->resolveReferences(R, RV); in resolveReferences()
550 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
655 Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
666 CurElt = CurElt->resolveReferences(R, RV); in resolveReferences()
758 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold() local
759 if (RV->getType() != getType()) in Fold()
[all …]
DTGParser.cpp63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() argument
67 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
69 if (ERV->setValue(RV.getValue())) in AddValue()
70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" + in AddValue()
71 RV.getType()->getAsString() + "' is incompatible with " + in AddValue()
75 CurRec->addValue(RV); in AddValue()
88 RecordVal *RV = CurRec->getValue(ValName); in SetValue() local
89 if (RV == 0) in SetValue()
105 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
138 if (RV->setValue(V)) in SetValue()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DFixedAddressChecker.cpp48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt() local
50 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
DPointerArithChecker.cpp42 SVal RV = state->getSVal(B->getRHS(), LCtx); in checkPreStmt() local
46 if (!LR || !RV.isConstant()) in checkPreStmt()
DPointerSubChecker.cpp45 SVal RV = state->getSVal(B->getRHS(), LCtx); in checkPreStmt() local
48 const MemRegion *RR = RV.getAsRegion(); in checkPreStmt()
/external/clang/lib/CodeGen/
DCGStmt.cpp211 RValue RV; in EmitCompoundStmtWithoutScope() local
213 RV = RValue::get(0); in EmitCompoundStmtWithoutScope()
227 RV = EmitAnyExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()
230 return RV; in EmitCompoundStmtWithoutScope()
738 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { in EmitReturnOfRValue() argument
739 if (RV.isScalar()) { in EmitReturnOfRValue()
740 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
741 } else if (RV.isAggregate()) { in EmitReturnOfRValue()
742 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty); in EmitReturnOfRValue()
744 EmitStoreOfComplex(RV.getComplexVal(), in EmitReturnOfRValue()
[all …]
DCGCall.cpp1625 llvm::Value *RV = 0; in EmitFunctionEpilog() local
1664 RV = SI->getValueOperand(); in EmitFunctionEpilog()
1675 RV = Builder.CreateLoad(ReturnValue); in EmitFunctionEpilog()
1687 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this); in EmitFunctionEpilog()
1696 RV = emitAutoreleaseOfResult(*this, RV); in EmitFunctionEpilog()
1708 llvm::Instruction *Ret = RV ? Builder.CreateRet(RV) : Builder.CreateRetVoid(); in EmitFunctionEpilog()
2035 void CodeGenFunction::ExpandTypeToArgs(QualType Ty, RValue RV, in ExpandTypeToArgs() argument
2041 llvm::Value *Addr = RV.getAggregateAddr(); in ExpandTypeToArgs()
2049 assert(RV.isAggregate() && "Unexpected rvalue during struct expansion"); in ExpandTypeToArgs()
2050 LValue LV = MakeAddrLValue(RV.getAggregateAddr(), Ty); in ExpandTypeToArgs()
[all …]
DCGVTables.cpp157 QualType ResultType, RValue RV, in PerformReturnAdjustment() argument
166 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment()
274 RValue RV = RValue::get(T->getOperand(0)); in GenerateVarArgsThunk() local
277 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
278 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
368 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD); in GenerateThunk() local
371 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateThunk()
374 CGM.getCXXABI().EmitReturnFromThunk(*this, RV, ResultType); in GenerateThunk()
DCGExpr.cpp165 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem() local
167 EmitStoreThroughLValue(RV, LV); in EmitAnyExprToMem()
229 RValue RV; in EmitExprForReferenceBinding() local
238 RV = CGF.EmitLoadOfLValue(LV); in EmitExprForReferenceBinding()
326 RV = CGF.EmitAnyExpr(E, AggSlot); in EmitExprForReferenceBinding()
332 llvm::Value *Object = RV.getAggregateAddr(); in EmitExprForReferenceBinding()
377 if (RV.isAggregate()) in EmitExprForReferenceBinding()
378 return RV.getAggregateAddr(); in EmitExprForReferenceBinding()
387 if (RV.isScalar()) in EmitExprForReferenceBinding()
388 CGF.EmitStoreOfScalar(RV.getScalarVal(), tempLV, /*init*/ true); in EmitExprForReferenceBinding()
[all …]
DCGCall.h45 RValue RV; member
49 : RV(rv), Ty(ty), NeedsCopy(needscopy) in CallArg()
DCGExprCXX.cpp1114 RValue RV = AllocSize.restore(CGF); in Emit() local
1115 DeleteArgs.add(RV, *AI++); in Emit()
1120 RValue RV = getPlacementArgs()[I].restore(CGF); in Emit() local
1121 DeleteArgs.add(RV, *AI++); in Emit()
1148 Cleanup->setPlacementArg(I, NewArgs[I+1].RV); in EnterNewDeleteCleanup()
1167 DominatingValue<RValue>::save(CGF, NewArgs[I+1].RV)); in EnterNewDeleteCleanup()
1233 RValue RV; in EmitCXXNewExpr() local
1236 RV = allocatorArgs[1].RV; in EmitCXXNewExpr()
1240 RV = EmitCall(CGM.getTypes().arrangeFreeFunctionCall(allocatorArgs, in EmitCXXNewExpr()
1257 llvm::Value *allocation = RV.getScalarVal(); in EmitCXXNewExpr()
DCGCXXABI.cpp143 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument
144 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
/external/llvm/include/llvm/TableGen/
DRecord.h522 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit() argument
532 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() argument
586 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
688 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
727 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
768 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
821 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
836 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
873 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
921 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
[all …]
/external/llvm/test/CodeGen/Generic/
D2004-05-09-LiveVarPartialRegister.ll10 %RV = sub i32 1, %cast2 ; <i32> [#uses=1]
11 ret i32 %RV
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp182 Value *RV = RetVals[i]; in PropagateConstantReturn() local
183 if (!RV) in PropagateConstantReturn()
200 if (isa<UndefValue>(RV)) { in PropagateConstantReturn()
206 if (RV == V) in PropagateConstantReturn()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1347 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); in run() local
1358 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in run()
1359 Record *R = RV[i]; in run()
1437 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); in runHeader() local
1443 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1444 Record *R = RV[i]; in runHeader()
1482 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1483 Record *R = RV[i]; in runHeader()
1579 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1580 Record *R = RV[i]; in runHeader()
[all …]
/external/clang/test/Parser/
Dcxx-reference.cpp21 typedef int && RV; // expected-warning {{rvalue references are a C++11 extension}} typedef
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp261 if (Optional<Loc> RV = rhs.getAs<Loc>()) in evalBinOp() local
262 return evalBinOpLL(state, op, *LV, *RV, type); in evalBinOp()
267 if (Optional<Loc> RV = rhs.getAs<Loc>()) { in evalBinOp() local
273 return evalBinOpLN(state, op, *RV, lhs.castAs<NonLoc>(), type); in evalBinOp()
DSVals.cpp39 if (Optional<loc::MemRegionVal> RV = getAs<loc::MemRegionVal>()) { in hasConjuredSymbol() local
40 const MemRegion *R = RV->getRegion(); in hasConjuredSymbol()
/external/llvm/test/Transforms/IndVarSimplify/
Dexit_value_tests.ll108 %RV = udiv i32 %i, 2 ; <i32> [#uses=1]
113 ret i32 %RV
/external/llvm/test/Transforms/ObjCARC/
Drv.ll27 ; better to do the RV optimization.
150 ; Don't apply the RV optimization to autorelease if there's no retain.
159 ; Apply the RV optimization.
186 ; Don't spoil the RV optimization.
Dcontract.ll47 ; Same as test2 but the value is returned. Do an RV optimization.
133 ; Don't spoil the RV optimization.
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll31 …:StringInit"* %this, %"class.llvm::Record"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_…
89 %cmp = icmp eq %"class.llvm::RecordVal"* %add.ptr.i.i, %RV ; <i1> [#uses=1]
96 %tobool10 = icmp eq %"class.llvm::RecordVal"* %RV, null ; <i1> [#uses=1]
139 …vm::Init"* %tmp2.i2, %"class.llvm::Record"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/de-DE/
Dde-DE_gl0_kdt_mgc3.pkb67 D�"s�RV��86P��lI�����S����Ξ��*�@��@l;4w���M> ;0w�@���k�[�8�Чw�jjx�V
/external/clang/lib/AST/
DExprClassification.cpp431 const RValueReferenceType *RV = T->getAs<RValueReferenceType>(); in ClassifyUnnamed() local
432 if (!RV) // Could still be a class temporary, though. in ClassifyUnnamed()
435 return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue; in ClassifyUnnamed()

123