Home
last modified time | relevance | path

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

123

/external/llvm/lib/TableGen/
DRecord.cpp483 static Init *fixBitInit(const RecordVal *RV, Init *Before, Init *After) { in fixBitInit() argument
484 if (RV || After != UnsetInit::get()) in fixBitInit()
492 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
509 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
519 CurBitVar = CurBitVar->resolveReferences(R, RV); in resolveReferences()
527 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
631 Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
642 CurElt = CurElt->resolveReferences(R, RV); in resolveReferences()
741 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold() local
742 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 = dynamic_cast<BitsInit*>(RV->getValue()); in SetValue()
139 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/llvm/include/llvm/TableGen/
DRecord.h499 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit() argument
509 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() argument
559 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
651 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
686 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
724 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
772 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
787 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
820 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
865 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp205 RValue RV; in EmitCompoundStmt() local
207 RV = RValue::get(0); in EmitCompoundStmt()
221 RV = EmitAnyExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmt()
224 return RV; in EmitCompoundStmt()
728 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { in EmitReturnOfRValue() argument
729 if (RV.isScalar()) { in EmitReturnOfRValue()
730 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
731 } else if (RV.isAggregate()) { in EmitReturnOfRValue()
732 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty); in EmitReturnOfRValue()
734 StoreComplexToAddr(RV.getComplexVal(), ReturnValue, false); in EmitReturnOfRValue()
[all …]
DCGCall.cpp1514 llvm::Value *RV = 0; in EmitFunctionEpilog() local
1545 RV = SI->getValueOperand(); in EmitFunctionEpilog()
1556 RV = Builder.CreateLoad(ReturnValue); in EmitFunctionEpilog()
1568 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this); in EmitFunctionEpilog()
1577 RV = emitAutoreleaseOfResult(*this, RV); in EmitFunctionEpilog()
1589 llvm::Instruction *Ret = RV ? Builder.CreateRet(RV) : Builder.CreateRetVoid(); in EmitFunctionEpilog()
1845 void CodeGenFunction::ExpandTypeToArgs(QualType Ty, RValue RV, in ExpandTypeToArgs() argument
1851 llvm::Value *Addr = RV.getAggregateAddr(); in ExpandTypeToArgs()
1867 assert(RV.isAggregate() && "Unexpected rvalue during struct expansion"); in ExpandTypeToArgs()
1868 LValue LV = MakeAddrLValue(RV.getAggregateAddr(), Ty); in ExpandTypeToArgs()
[all …]
DCGVTables.cpp179 QualType ResultType, RValue RV, in PerformReturnAdjustment() argument
188 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment()
292 RValue RV = RValue::get(T->getOperand(0)); in GenerateVarArgsThunk() local
295 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
296 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
382 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD); in GenerateThunk() local
385 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateThunk()
388 CGM.getCXXABI().EmitReturnFromThunk(*this, RV, ResultType); in GenerateThunk()
DCGExpr.cpp153 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem() local
155 EmitStoreThroughLValue(RV, LV); in EmitAnyExprToMem()
272 RValue RV; in EmitExprForReferenceBinding() local
281 RV = CGF.EmitLoadOfLValue(LV); in EmitExprForReferenceBinding()
410 RV = CGF.EmitAnyExpr(E, AggSlot); in EmitExprForReferenceBinding()
416 llvm::Value *Object = RV.getAggregateAddr(); in EmitExprForReferenceBinding()
460 if (RV.isAggregate()) in EmitExprForReferenceBinding()
461 return RV.getAggregateAddr(); in EmitExprForReferenceBinding()
470 if (RV.isScalar()) in EmitExprForReferenceBinding()
471 CGF.EmitStoreOfScalar(RV.getScalarVal(), ReferenceTemporary, in EmitExprForReferenceBinding()
[all …]
DCGExprCXX.cpp1094 RValue RV = AllocSize.restore(CGF); in Emit() local
1095 DeleteArgs.add(RV, *AI++); in Emit()
1100 RValue RV = getPlacementArgs()[I].restore(CGF); in Emit() local
1101 DeleteArgs.add(RV, *AI++); in Emit()
1128 Cleanup->setPlacementArg(I, NewArgs[I+1].RV); in EnterNewDeleteCleanup()
1147 DominatingValue<RValue>::save(CGF, NewArgs[I+1].RV)); in EnterNewDeleteCleanup()
1213 RValue RV; in EmitCXXNewExpr() local
1216 RV = allocatorArgs[1].RV; in EmitCXXNewExpr()
1220 RV = EmitCall(CGM.getTypes().arrangeFreeFunctionCall(allocatorArgs, in EmitCXXNewExpr()
1237 llvm::Value *allocation = RV.getScalarVal(); in EmitCXXNewExpr()
DCGCall.h48 RValue RV; member
52 : RV(rv), Ty(ty), NeedsCopy(needscopy) in CallArg()
DCGCXXABI.cpp143 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument
144 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
/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.cpp1345 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); in run() local
1356 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in run()
1357 Record *R = RV[i]; in run()
1435 std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst"); in runHeader() local
1441 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1442 Record *R = RV[i]; in runHeader()
1480 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1481 Record *R = RV[i]; in runHeader()
1577 for (unsigned i = 0, e = RV.size(); i != e; ++i) { in runHeader()
1578 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/llvm/test/Transforms/IndVarSimplify/
Dexit_value_tests.ll108 %RV = udiv i32 %i, 2 ; <i32> [#uses=1]
113 ret i32 %RV
/external/clang/lib/StaticAnalyzer/Core/
DSVals.cpp38 if (const loc::MemRegionVal *RV = dyn_cast<loc::MemRegionVal>(this)) { in hasConjuredSymbol() local
39 const MemRegion *R = RV->getRegion(); in hasConjuredSymbol()
/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/llvm/utils/TableGen/
DCodeGenRegisters.cpp635 RecordVal RV = Proto->getValues()[i]; in expand() local
638 if (NewReg->getValue(RV.getNameInit())) in expand()
641 StringRef Field = RV.getName(); in expand()
645 RV.setValue(ListInit::get(Tuple, RegisterRecTy)); in expand()
649 RV.setValue(BlankName); in expand()
653 RV.setValue(IntInit::get(CostPerUse)); in expand()
657 RV.setValue(BitInit::get(true)); in expand()
676 NewReg->addValue(RV); in expand()
/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