Home
last modified time | relevance | path

Searched refs:LValue (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.h278 typedef llvm::function_ref<std::pair<LValue, LValue>(
2135 LValue EmitLoadOfReferenceLValue(LValue RefLVal);
2322 void EmitAggregateAssign(LValue Dest, LValue Src, QualType EltTy) {
2327 void EmitAggregateCopyCtor(LValue Dest, LValue Src,
2339 void EmitAggregateCopy(LValue Dest, LValue Src, QualType EltTy,
3548 LValue EmitLValueForField(LValue Base, const FieldDecl* Field);
3554 LValue EmitLValueForFieldInitialization(LValue Base,
3650 void callCStructCopyConstructor(LValue Dst, LValue Src);
3651 void callCStructMoveConstructor(LValue Dst, LValue Src);
3652 void callCStructCopyAssignmentOperator(LValue Dst, LValue Src);
[all …]
H A DCGExpr.cpp1201 LValue LV; in EmitCheckedLValue()
3706 LValue Base; in EmitExtVectorElementExpr()
3769 LValue BaseLV; in EmitMemberExpr()
3857 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
3984 LValue
4299 LValue
4527 LValue
4542 LValue
4551 LValue
4608 LValue LV = in EmitObjCIvarRefLValue()
[all …]
H A DCGValue.h167 class LValue {
372 LValue R; in MakeAddr()
380 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt()
383 LValue R; in MakeVectorElt()
392 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts, in MakeExtVectorElt()
395 LValue R; in MakeExtVectorElt()
410 static LValue MakeBitfield(Address Addr, const CGBitFieldInfo &Info, in MakeBitfield()
413 LValue R; in MakeBitfield()
422 static LValue MakeGlobalReg(Address Reg, QualType type) { in MakeGlobalReg()
423 LValue R; in MakeGlobalReg()
[all …]
H A DCGExprAgg.cpp188 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr()
198 void EmitNullInitializationToLValue(LValue Address);
216 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue()
324 LValue DstLV = CGF.MakeAddrLValue( in EmitFinalDestCopy()
384 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
556 LValue elementLV = in EmitArrayInit()
603 LValue elementLV = in EmitArrayInit()
1149 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
1622 LValue elementLV = in VisitArrayInitLoopExpr()
1792 LValue LV = MakeAddrLValue(Temp, E->getType()); in EmitAggExprToLValue()
[all …]
H A DCGAtomic.cpp42 LValue LVal;
45 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo()
201 LValue projectValue() const { in projectValue()
1549 LValue TempLVal = projectValue(); in emitCopyIntoMemory()
1686 LValue DesiredLVal; in EmitAtomicUpdateValue()
1693 LValue UpdateLVal; in EmitAtomicUpdateValue()
1709 DesiredLVal = LValue::MakeVectorElt( in EmitAtomicUpdateValue()
1799 LValue DesiredLVal; in EmitAtomicUpdateValue()
1813 DesiredLVal = LValue::MakeExtVectorElt( in EmitAtomicUpdateValue()
1923 LValue LVal = atomics.getAtomicLValue(); in EmitAtomicStore()
[all …]
H A DCGExprComplex.cpp77 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
189 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec()
301 LValue EmitBinAssignLValue(const BinaryOperator *E,
464 LValue origLV = CGF.EmitLValue(Op); in EmitCast()
872 LValue ComplexExprEmitter::
902 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
946 LValue LV = EmitCompoundAssignLValue(E, Func, Val); in EmitCompoundAssign()
971 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue()
981 LValue LV = EmitBinAssignLValue(E, Val); in VisitBinAssign()
1143 LValue CodeGenFunction::
[all …]
H A DCGCall.h219 LValue LV; /// The argument is semantically a load from this l-value.
231 CallArg(LValue lv, QualType ty) in CallArg()
240 LValue getKnownLValue() const { in getKnownLValue()
268 LValue Source;
287 void addUncopiedAggregate(LValue LV, QualType type) { in addUncopiedAggregate()
306 void addWriteback(LValue srcLV, Address temporary, in addWriteback()
H A DCGNonTrivialStruct.cpp546 LValue DstLV, SrcLV; in visitVolatileTrivial()
551 LValue DstBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
555 LValue SrcBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
707 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
766 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
770 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT); in visitARCStrong()
847 void CodeGenFunction::callCStructDestructor(LValue Dst) { in callCStructDestructor()
858 void CodeGenFunction::callCStructCopyConstructor(LValue Dst, LValue Src) { in callCStructCopyConstructor()
870 void CodeGenFunction::callCStructCopyAssignmentOperator(LValue Dst, LValue Src in callCStructCopyAssignmentOperator()
883 void CodeGenFunction::callCStructMoveConstructor(LValue Dst, LValue Src) { in callCStructMoveConstructor()
[all …]
H A DCGStmtOpenMP.cpp2050 static std::pair<LValue, LValue>
2054 LValue LB = in emitDistributeParallelForInnerBounds()
2056 LValue UB = in emitDistributeParallelForInnerBounds()
2115 LValue LB = in emitDistributeParallelForDistributeInnerBoundParams()
2120 LValue UB = in emitDistributeParallelForDistributeInnerBoundParams()
2280 LValue ST = in EmitOMPWorksharingLoop()
2282 LValue IL = in EmitOMPWorksharingLoop()
2445 static std::pair<LValue, LValue>
2448 LValue LB = in emitForLoopBounds()
2450 LValue UB = in emitForLoopBounds()
[all …]
H A DCGOpenMPRuntime.cpp911 return LValue(); in emitSharedLValueUB()
1138 LValue BaseLValue = in adjustPrivateAddress()
1566 LValue PSource = in emitUpdateLocation()
4408 LValue Base = in emitProxyTaskFunction()
4606 LValue RefLVal = in emitTaskPrivateMappingFunction()
4638 LValue SrcBase; in emitPrivatesInit()
4974 LValue TDBase = in emitTaskInit()
5092 LValue UpAddrLVal = in emitTaskCall()
5891 LValue SharedLVal; in emitReduceInitFunction()
7599 LValue ThisLVal = in generateInfoForLambdaCaptures()
[all …]
H A DCGObjC.cpp163 LValue LV = MakeAddrLValue( in EmitObjCCollectionLiteral()
175 LValue KeyLV = MakeAddrLValue( in EmitObjCCollectionLiteral()
183 LValue ValueLV = MakeAddrLValue( in EmitObjCCollectionLiteral()
1279 LValue ivarLValue = in generateObjCSetterBody()
1458 LValue lvalue in Emit()
1729 LValue elementLValue; in EmitObjCForCollectionStmt()
2662 LValue lv = CGF.EmitLValue(e); in tryEmitARCRetainLoadOfScalar()
2990 LValue lvalue = in visitBinAssignUnsafeUnretained()
3295 std::pair<LValue,llvm::Value*>
3314 std::pair<LValue,llvm::Value*>
[all …]
H A DCGOpenMPRuntime.h131 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses;
138 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E);
140 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E);
147 Address PrivateAddr, LValue SharedLVal,
172 LValue SharedLVal,
187 LValue getSharedLValue(unsigned N) const { return SharedAddresses[N].first; } in getSharedLValue()
729 LValue TDBase;
1333 LValue SharedLVal);
2010 LValue SharedLVal) override;
H A DTargetInfo.h136 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs()
139 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
H A DCGStmt.cpp1008 LValue Dest = MakeAddrLValue(ReturnValue, Ty); in EmitReturnOfRValue()
1009 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue()
1846 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
1913 std::vector<LValue> ResultRegDests; in EmitAsmStmt()
1948 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt()
2037 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy); in EmitAsmStmt()
2244 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) { in InitCapturedStruct()
2249 LValue SlotLV = in InitCapturedStruct()
2272 LValue CapStruct = InitCapturedStruct(S); in EmitCapturedStmt()
2287 LValue CapStruct = InitCapturedStruct(S); in GenerateCapturedStmtArgument()
[all …]
H A DCGClass.cpp593 LValue &LHS) { in EmitLValueForAnyFieldInitialization()
621 LValue LHS; in EmitMemberInitializer()
957 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
1109 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1117 LValue FieldLHS = LHS; in pushEHDestructors()
1609 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
1610 LValue LV = CGF.EmitLValueForField(ThisLV, field); in Emit()
2037 LValue Src = EmitLValue(Arg); in EmitCXXConstructorCall()
2039 LValue Dest = MakeAddrLValue(This, DestTy); in EmitCXXConstructorCall()
2109 LValue SrcLVal = MakeAddrLValue(Src, SrcTy); in EmitCXXConstructorCall()
[all …]
H A DCGObjCRuntime.cpp54 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, in EmitValueForIvarAtOffset()
72 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); in EmitValueForIvarAtOffset()
114 return LValue::MakeBitfield(Addr, *Info, IvarTy, in EmitValueForIvarAtOffset()
H A DCGObjCRuntime.h86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
265 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGDecl.cpp664 const LValue &destLV, const Expr *init) { in tryEmitARCCopyWeakInit()
684 LValue srcLV = CGF.EmitLValue(srcExpr); in tryEmitARCCopyWeakInit()
714 LValue &lvalue, in drillIntoBlockVariable()
719 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS, in EmitNullabilityCheck()
741 LValue lvalue, bool capturedByInit) { in EmitScalarInit()
771 LValue tempLV = lvalue; in EmitScalarInit()
1610 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type); in EmitAutoVarInit()
1736 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1743 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1767 LValue lvalue, bool capturedByInit) { in EmitExprAsInit()
[all …]
H A DCGExprScalar.cpp246 Value *EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
507 LValue LV = CGF.EmitObjCIsaExpr(E); in VisitObjCIsaExpr()
570 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostDec()
574 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostInc()
578 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreDec()
582 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreInc()
1977 LValue LV = CGF.MakeAddrLValue(Addr, DestTy); in VisitCastExpr()
2792 LValue ScalarExprEmitter::EmitCompoundAssignLValue( in EmitCompoundAssignLValue()
2912 LValue LHS = EmitCompoundAssignLValue(E, Func, RHS); in EmitCompoundAssign()
3757 LValue LHS; in VisitBinAssign()
[all …]
H A DCGCoroutine.cpp172 LValue LV;
302 LValue
312 LValue
H A DCGExprCXX.cpp124 LValue BaseLV = EmitLValue(BaseExpr); in EmitCXXPseudoDestructorExpr()
246 LValue This; in EmitCXXMemberOrOperatorMemberCallExpr()
267 LValue RHS = isa<CXXOperatorCallExpr>(CE) in EmitCXXMemberOrOperatorMemberCallExpr()
281 LValue RHS = EmitLValue(Arg); in EmitCXXMemberOrOperatorMemberCallExpr()
282 LValue Dest = MakeAddrLValue(This.getAddress(), Arg->getType()); in EmitCXXMemberOrOperatorMemberCallExpr()
2258 LValue SlotLV = MakeAddrLValue(Slot.getAddress(), E->getType()); in EmitLambdaExpr()
2265 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); in EmitLambdaExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp62 struct LValue;
1776 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
7198 LValue LV; in VisitInitListExpr()
7827 LValue LV; in EvaluateBuiltinConstantP()
8109 LValue LVal; in tryEvaluateBuiltinObjectSize()
9395 LValue LV; in VisitBinCmp()
9807 LValue LV; in VisitCastExpr()
10747 LValue LV; in Evaluate()
10758 LValue LV; in Evaluate()
10781 LValue LV; in Evaluate()
[all …]
H A DAPValue.cpp192 case LValue: in APValue()
242 else if (Kind == LValue) in DestroyDataAndMakeUninit()
283 case LValue: in needsCleanup()
339 case LValue: in dump()
418 case APValue::LValue: { in printPretty()
713 Kind = LValue; in MakeLValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp99 SVal ExprEngine::makeZeroElementRegion(ProgramStateRef State, SVal LValue, in makeZeroElementRegion() argument
106 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); in makeZeroElementRegion()
110 return LValue; in makeZeroElementRegion()
129 SVal LValue = State->getLValue(Var, LCtx); in prepareForObjectConstruction() local
131 LValue = in prepareForObjectConstruction()
132 makeZeroElementRegion(State, LValue, Ty, CallOpts.IsArrayCtorOrDtor); in prepareForObjectConstruction()
134 addObjectUnderConstruction(State, DSCC->getDeclStmt(), LCtx, LValue); in prepareForObjectConstruction()
135 return std::make_pair(State, LValue); in prepareForObjectConstruction()
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DTGParser.h68 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop()
69 : Loc(Loc), IterVar(IVar), ListValue(LValue) {} in ForeachLoop()

12