Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.h306 typedef llvm::function_ref<std::pair<LValue, LValue>(
2577 LValue
2590 LValue EmitLoadOfReferenceLValue(LValue RefLVal);
2767 void EmitAggregateCopyCtor(LValue Dest, LValue Src,
2779 void EmitAggregateCopy(LValue Dest, LValue Src, QualType EltTy,
4089 LValue EmitLValueForField(LValue Base, const FieldDecl* Field);
4097 LValue EmitLValueForFieldInitialization(LValue Base,
4195 void callCStructCopyConstructor(LValue Dst, LValue Src);
4196 void callCStructMoveConstructor(LValue Dst, LValue Src);
4197 void callCStructCopyAssignmentOperator(LValue Dst, LValue Src);
[all …]
H A DCGValue.h171 class LValue {
340 LValue setKnownNonNull() { in setKnownNonNull()
422 LValue R; in MakeAddr()
432 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt()
435 LValue R; in MakeVectorElt()
449 LValue R; in MakeExtVectorElt()
469 LValue R; in MakeBitfield()
480 static LValue MakeGlobalReg(llvm::Value *V, CharUnits alignment, in MakeGlobalReg()
482 LValue R; in MakeGlobalReg()
492 static LValue MakeMatrixElt(Address matAddress, llvm::Value *Idx, in MakeMatrixElt()
[all …]
H A DCGExpr.cpp1476 LValue LV; in EmitCheckedLValue()
4338 LValue BaseLVal; in emitOMPArraySectionBase()
4534 LValue Base; in EmitExtVectorElementExpr()
4597 LValue BaseLV; in EmitMemberExpr()
4749 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
4916 LValue
5327 LValue
5618 LValue
5633 LValue
5701 LValue LV = in EmitObjCIvarRefLValue()
[all …]
H A DCGExprAgg.cpp209 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr()
231 void EmitNullInitializationToLValue(LValue Address);
249 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue()
355 LValue DstLV = CGF.MakeAddrLValue( in EmitFinalDestCopy()
414 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
593 LValue elementLV = CGF.MakeAddrLValue( in EmitArrayInit()
640 LValue elementLV = CGF.MakeAddrLValue( in EmitArrayInit()
1223 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
1884 LValue elementLV = CGF.MakeAddrLValue( in VisitArrayInitLoopExpr()
2054 LValue LV = MakeAddrLValue(Temp, E->getType()); in EmitAggExprToLValue()
[all …]
H A DCGOpenMPRuntime.h149 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses;
151 SmallVector<std::pair<LValue, LValue>, 4> OrigAddresses;
158 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E);
160 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E);
274 LValue IVLVal;
300 LValue IVLVal);
574 LValue TDBase;
1330 LValue SharedLVal);
1656 void emitDestroyClause(CodeGenFunction &CGF, LValue DepobjLVal,
1662 void emitUpdateClause(CodeGenFunction &CGF, LValue DepobjLVal,
[all …]
H A DCGCall.h217 LValue LV; /// The argument is semantically a load from this l-value.
229 CallArg(LValue lv, QualType ty) in CallArg()
238 LValue getKnownLValue() const { in getKnownLValue()
265 LValue Source;
284 void addUncopiedAggregate(LValue LV, QualType type) { in addUncopiedAggregate()
303 void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { in addWriteback()
H A DCGAtomic.cpp40 LValue LVal;
96 LVal = LValue::MakeBitfield( in AtomicInfo()
208 LValue projectValue() const { in projectValue()
1792 LValue TempLVal = projectValue(); in emitCopyIntoMemory()
1920 LValue DesiredLVal; in EmitAtomicUpdateValue()
1927 LValue UpdateLVal; in EmitAtomicUpdateValue()
1943 DesiredLVal = LValue::MakeVectorElt( in EmitAtomicUpdateValue()
2033 LValue DesiredLVal; in EmitAtomicUpdateValue()
2047 DesiredLVal = LValue::MakeExtVectorElt( in EmitAtomicUpdateValue()
2157 LValue LVal = atomics.getAtomicLValue(); in EmitAtomicStore()
[all …]
H A DCGExprComplex.cpp197 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec()
336 LValue EmitBinAssignLValue(const BinaryOperator *E,
498 LValue origLV = CGF.EmitLValue(Op); in EmitCast()
504 LValue SourceLVal = CGF.EmitLValue(Op); in EmitCast()
507 LValue DestLV = CGF.MakeAddrLValue(Addr, DestTy); in EmitCast()
1149 LValue ComplexExprEmitter::
1197 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
1282 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue()
1292 LValue LV = EmitBinAssignLValue(E, Val); in VisitBinAssign()
1458 LValue CodeGenFunction::
[all …]
H A DTargetInfo.h180 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs()
183 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
387 LValue Dst, in emitCUDADeviceBuiltinSurfaceDeviceCopy()
388 LValue Src) const { in emitCUDADeviceBuiltinSurfaceDeviceCopy()
394 LValue Dst, in emitCUDADeviceBuiltinTextureDeviceCopy()
395 LValue Src) const { in emitCUDADeviceBuiltinTextureDeviceCopy()
H A DCGNonTrivialStruct.cpp544 LValue DstLV, SrcLV; in visitVolatileTrivial()
553 LValue DstBase = in visitVolatileTrivial()
557 LValue SrcBase = in visitVolatileTrivial()
711 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
774 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
778 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT); in visitARCStrong()
867 void CodeGenFunction::callCStructDestructor(LValue Dst) { in callCStructDestructor()
878 void CodeGenFunction::callCStructCopyConstructor(LValue Dst, LValue Src) { in callCStructCopyConstructor()
890 void CodeGenFunction::callCStructCopyAssignmentOperator(LValue Dst, LValue Src in callCStructCopyAssignmentOperator()
903 void CodeGenFunction::callCStructMoveConstructor(LValue Dst, LValue Src) { in callCStructMoveConstructor()
[all …]
H A DCGOpenMPRuntime.cpp747 return LValue(); in emitSharedLValueUB()
3019 LValue Base = in emitProxyTaskFunction()
3256 LValue SrcBase; in emitPrivatesInit()
3923 LValue TDBase = in emitTaskInit()
4088 LValue Base; in emitDependData()
4094 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
4122 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
4455 LValue Base; in emitUpdateClause()
11653 LValue IVLVal;
11812 LValue IVLVal; in checkAndEmitLastprivateConditional()
[all …]
H A DCGObjC.cpp1140 LValue Src = in generateObjCGetterBody()
1474 LValue ivarLValue = in generateObjCSetterBody()
1652 LValue lvalue in Emit()
1923 LValue elementLValue; in EmitObjCForCollectionStmt()
2920 LValue lv = CGF.EmitLValue(e); in tryEmitARCRetainLoadOfScalar()
3271 LValue lvalue = in visitBinAssignUnsafeUnretained()
3584 std::pair<LValue,llvm::Value*>
3597 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreUnsafeUnretained()
3603 std::pair<LValue,llvm::Value*>
3620 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreStrong()
[all …]
H A DCGStmtOpenMP.cpp3089 static std::pair<LValue, LValue>
3093 LValue LB = in emitDistributeParallelForInnerBounds()
3095 LValue UB = in emitDistributeParallelForInnerBounds()
3154 LValue LB = in emitDistributeParallelForDistributeInnerBoundParams()
3160 LValue UB = in emitDistributeParallelForDistributeInnerBoundParams()
3321 LValue ST = in EmitOMPWorksharingLoop()
3323 LValue IL = in EmitOMPWorksharingLoop()
3507 static std::pair<LValue, LValue>
3510 LValue LB = in emitForLoopBounds()
3512 LValue UB = in emitForLoopBounds()
[all …]
H A DCGStmt.cpp1247 LValue Dest = MakeAddrLValue(ReturnValue, Ty); in EmitReturnOfRValue()
1248 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue()
2252 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
2353 const llvm::ArrayRef<LValue> ResultRegDests, in EmitAsmStores()
2409 LValue Dest = ResultRegDests[i]; in EmitAsmStores()
2497 std::vector<LValue> ResultRegDests; in EmitAsmStmt()
2548 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt()
2926 LValue SlotLV = in InitCapturedStruct()
2948 LValue CapStruct = InitCapturedStruct(S); in EmitCapturedStmt()
2963 LValue CapStruct = InitCapturedStruct(S); in GenerateCapturedStmtArgument()
[all …]
H A DCGClass.cpp609 LValue &LHS) { in EmitLValueForAnyFieldInitialization()
637 LValue LHS; in EmitMemberInitializer()
971 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
1116 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1124 LValue FieldLHS = LHS; in pushEHDestructors()
1638 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
1639 LValue LV = CGF.EmitLValueForField(ThisLV, field); in Emit()
2141 LValue Src = EmitLValue(Arg); in EmitCXXConstructorCall()
2143 LValue Dest = MakeAddrLValue(This, DestTy); in EmitCXXConstructorCall()
2214 LValue SrcLVal = MakeAddrLValue(Src, SrcTy); in EmitCXXConstructorCall()
[all …]
H A DCGObjCRuntime.cpp54 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, in EmitValueForIvarAtOffset()
70 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); in EmitValueForIvarAtOffset()
112 return LValue::MakeBitfield(Addr, *Info, IvarTy, in EmitValueForIvarAtOffset()
H A DCGObjCRuntime.h87 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
304 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGDecl.cpp735 LValue srcLV = CGF.EmitLValue(srcExpr); in tryEmitARCCopyWeakInit()
765 LValue &lvalue, in drillIntoBlockVariable()
770 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS, in EmitNullabilityCheck()
792 LValue lvalue, bool capturedByInit) { in EmitScalarInit()
821 LValue tempLV = lvalue; in EmitScalarInit()
1614 LValue Base = MakeAddrLValue(AddrSizePair.first, D.getType(), in EmitAutoVarAlloca()
1906 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type); in EmitAutoVarInit()
1971 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1978 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1999 LValue lvalue, bool capturedByInit) { in EmitExprAsInit()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.h36 LValue, // Result is an lvalue/pointer. enumerator
67 Kind = LValue; in setPointer()
72 Kind = LValue; in setFunctionPointer()
88 bool isLValue() const { return Kind == LValue; } in isLValue()
H A DEvaluationResult.cpp21 case LValue: in toAPValue()
43 assert(Kind == LValue); in toRValue()
171 case LValue: { in dump()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DNVPTX.cpp62 bool emitCUDADeviceBuiltinSurfaceDeviceCopy(CodeGenFunction &CGF, LValue Dst, in emitCUDADeviceBuiltinSurfaceDeviceCopy()
63 LValue Src) const override { in emitCUDADeviceBuiltinSurfaceDeviceCopy()
68 bool emitCUDADeviceBuiltinTextureDeviceCopy(CodeGenFunction &CGF, LValue Dst, in emitCUDADeviceBuiltinTextureDeviceCopy()
69 LValue Src) const override { in emitCUDADeviceBuiltinTextureDeviceCopy()
80 static void emitBuiltinSurfTexDeviceCopy(CodeGenFunction &CGF, LValue Dst, in emitBuiltinSurfTexDeviceCopy()
81 LValue Src) { in emitBuiltinSurfTexDeviceCopy()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp77 struct LValue;
2138 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
5887 LValue LVal; in HandleCovariantReturnAdjustment()
6174 LValue LV; in EvaluateCallArg()
6752 LValue LV; in HandleDestruction()
12079 LValue LVal; in tryEvaluateBuiltinObjectSize()
13530 LValue LV; in VisitBinCmp()
14047 LValue LV; in VisitCastExpr()
15327 LValue LV; in Evaluate()
15338 LValue LV; in Evaluate()
[all …]
H A DAPValue.cpp343 case LValue: in APValue()
416 else if (Kind == LValue) in DestroyDataAndMakeUninit()
460 case LValue: in needsCleanup()
595 case LValue: in Profile()
744 case APValue::LValue: { in printPretty()
1078 Kind = LValue; in MakeLValue()
1164 case APValue::LValue: { in getLVForValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp118 SVal getPointeeOf(ProgramStateRef State, Loc LValue) { in getPointeeOf() argument
119 const QualType ArgTy = LValue.getType(State->getStateManager().getContext()); in getPointeeOf()
121 return State->getSVal(LValue); in getPointeeOf()
125 return State->getSVal(LValue, State->getStateManager().getContext().CharTy); in getPointeeOf()
130 if (auto LValue = Arg.getAs<Loc>()) in getPointeeOf() local
131 return getPointeeOf(State, *LValue); in getPointeeOf()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h71 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop()
72 : Loc(Loc), IterVar(IVar), ListValue(LValue) {} in ForeachLoop()

123