Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.h303 typedef llvm::function_ref<std::pair<LValue, LValue>(
2459 LValue EmitLoadOfReferenceLValue(LValue RefLVal);
2640 void EmitAggregateAssign(LValue Dest, LValue Src, QualType EltTy) {
2645 void EmitAggregateCopyCtor(LValue Dest, LValue Src,
2657 void EmitAggregateCopy(LValue Dest, LValue Src, QualType EltTy,
3909 LValue EmitLValueForField(LValue Base, const FieldDecl* Field);
3915 LValue EmitLValueForFieldInitialization(LValue Base,
4013 void callCStructCopyConstructor(LValue Dst, LValue Src);
4014 void callCStructMoveConstructor(LValue Dst, LValue Src);
4015 void callCStructCopyAssignmentOperator(LValue Dst, LValue Src);
[all …]
H A DCGValue.h167 class LValue {
394 LValue R; in MakeAddr()
402 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt()
405 LValue R; in MakeVectorElt()
417 LValue R; in MakeExtVectorElt()
432 static LValue MakeBitfield(Address Addr, const CGBitFieldInfo &Info, in MakeBitfield()
435 LValue R; in MakeBitfield()
444 static LValue MakeGlobalReg(Address Reg, QualType type) { in MakeGlobalReg()
445 LValue R; in MakeGlobalReg()
453 static LValue MakeMatrixElt(Address matAddress, llvm::Value *Idx, in MakeMatrixElt()
[all …]
H A DCGExpr.cpp1250 LValue LV; in EmitCheckedLValue()
3888 LValue BaseLVal; in emitOMPArraySectionBase()
4082 LValue Base; in EmitExtVectorElementExpr()
4145 LValue BaseLV; in EmitMemberExpr()
4276 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
4445 LValue
4784 LValue
5031 LValue
5046 LValue
5105 LValue LV = in EmitObjCIvarRefLValue()
[all …]
H A DTargetInfo.h160 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs()
163 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
355 LValue Dst, in emitCUDADeviceBuiltinSurfaceDeviceCopy()
356 LValue Src) const { in emitCUDADeviceBuiltinSurfaceDeviceCopy()
362 LValue Dst, in emitCUDADeviceBuiltinTextureDeviceCopy()
363 LValue Src) const { in emitCUDADeviceBuiltinTextureDeviceCopy()
H A DCGExprAgg.cpp198 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr()
208 void EmitNullInitializationToLValue(LValue Address);
226 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue()
332 LValue DstLV = CGF.MakeAddrLValue( in EmitFinalDestCopy()
391 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
566 LValue elementLV = in EmitArrayInit()
614 LValue elementLV = in EmitArrayInit()
1199 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
1833 LValue elementLV = in VisitArrayInitLoopExpr()
2004 LValue LV = MakeAddrLValue(Temp, E->getType()); in EmitAggExprToLValue()
[all …]
H A DCGAtomic.cpp40 LValue LVal;
43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo()
200 LValue projectValue() const { in projectValue()
1633 LValue TempLVal = projectValue(); in emitCopyIntoMemory()
1765 LValue DesiredLVal; in EmitAtomicUpdateValue()
1772 LValue UpdateLVal; in EmitAtomicUpdateValue()
1788 DesiredLVal = LValue::MakeVectorElt( in EmitAtomicUpdateValue()
1878 LValue DesiredLVal; in EmitAtomicUpdateValue()
1892 DesiredLVal = LValue::MakeExtVectorElt( in EmitAtomicUpdateValue()
2002 LValue LVal = atomics.getAtomicLValue(); in EmitAtomicStore()
[all …]
H A DCGExprComplex.cpp193 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec()
309 LValue EmitBinAssignLValue(const BinaryOperator *E,
471 LValue origLV = CGF.EmitLValue(Op); in EmitCast()
478 LValue SourceLVal = CGF.EmitLValue(Op); in EmitCast()
481 LValue DestLV = CGF.MakeAddrLValue(Addr, DestTy); in EmitCast()
898 LValue ComplexExprEmitter::
929 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
998 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue()
1008 LValue LV = EmitBinAssignLValue(E, Val); in VisitBinAssign()
1174 LValue CodeGenFunction::
[all …]
H A DCGOpenMPRuntime.h150 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses;
152 SmallVector<std::pair<LValue, LValue>, 4> OrigAddresses;
159 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E);
161 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E);
193 LValue SharedLVal,
270 LValue IVLVal;
296 LValue IVLVal);
863 LValue TDBase;
1545 LValue SharedLVal);
1912 void emitUpdateClause(CodeGenFunction &CGF, LValue DepobjLVal,
[all …]
H A DCGCall.h223 LValue LV; /// The argument is semantically a load from this l-value.
235 CallArg(LValue lv, QualType ty) in CallArg()
244 LValue getKnownLValue() const { in getKnownLValue()
271 LValue Source;
290 void addUncopiedAggregate(LValue LV, QualType type) { in addUncopiedAggregate()
309 void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { in addWriteback()
H A DCGNonTrivialStruct.cpp550 LValue DstLV, SrcLV; in visitVolatileTrivial()
559 LValue DstBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
563 LValue SrcBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
717 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
780 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
784 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT); in visitARCStrong()
874 void CodeGenFunction::callCStructDestructor(LValue Dst) { in callCStructDestructor()
885 void CodeGenFunction::callCStructCopyConstructor(LValue Dst, LValue Src) { in callCStructCopyConstructor()
897 void CodeGenFunction::callCStructCopyAssignmentOperator(LValue Dst, LValue Src in callCStructCopyAssignmentOperator()
910 void CodeGenFunction::callCStructMoveConstructor(LValue Dst, LValue Src) { in callCStructMoveConstructor()
[all …]
H A DCGOpenMPRuntime.cpp774 return LValue(); in emitSharedLValueUB()
3605 LValue Base = in emitProxyTaskFunction()
3842 LValue SrcBase; in emitPrivatesInit()
4517 LValue TDBase = in emitTaskInit()
4680 LValue Base; in emitDependData()
4685 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
4711 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
5081 LValue Base; in emitUpdateClause()
12488 LValue IVLVal;
12648 LValue IVLVal; in checkAndEmitLastprivateConditional()
[all …]
H A DCGStmtOpenMP.cpp2897 static std::pair<LValue, LValue>
2901 LValue LB = in emitDistributeParallelForInnerBounds()
2903 LValue UB = in emitDistributeParallelForInnerBounds()
2962 LValue LB = in emitDistributeParallelForDistributeInnerBoundParams()
2968 LValue UB = in emitDistributeParallelForDistributeInnerBoundParams()
3129 LValue ST = in EmitOMPWorksharingLoop()
3131 LValue IL = in EmitOMPWorksharingLoop()
3312 static std::pair<LValue, LValue>
3315 LValue LB = in emitForLoopBounds()
3317 LValue UB = in emitForLoopBounds()
[all …]
H A DCGObjC.cpp1429 LValue ivarLValue = in generateObjCSetterBody()
1604 LValue lvalue in Emit()
1876 LValue elementLValue; in EmitObjCForCollectionStmt()
2896 LValue lv = CGF.EmitLValue(e); in tryEmitARCRetainLoadOfScalar()
3247 LValue lvalue = in visitBinAssignUnsafeUnretained()
3559 std::pair<LValue,llvm::Value*>
3572 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreUnsafeUnretained()
3578 std::pair<LValue,llvm::Value*>
3595 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreStrong()
3609 std::pair<LValue,llvm::Value*>
[all …]
H A DCGClass.cpp615 LValue &LHS) { in EmitLValueForAnyFieldInitialization()
643 LValue LHS; in EmitMemberInitializer()
976 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
1129 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1137 LValue FieldLHS = LHS; in pushEHDestructors()
1645 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
1646 LValue LV = CGF.EmitLValueForField(ThisLV, field); in Emit()
2082 LValue Src = EmitLValue(Arg); in EmitCXXConstructorCall()
2084 LValue Dest = MakeAddrLValue(This, DestTy); in EmitCXXConstructorCall()
2155 LValue SrcLVal = MakeAddrLValue(Src, SrcTy); in EmitCXXConstructorCall()
[all …]
H A DCGStmt.cpp1156 LValue Dest = MakeAddrLValue(ReturnValue, Ty); in EmitReturnOfRValue()
1157 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue()
2148 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
2270 std::vector<LValue> ResultRegDests; in EmitAsmStmt()
2318 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt()
2438 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy); in EmitAsmStmt()
2674 LValue Dest = ResultRegDests[i]; in EmitAsmStmt()
2705 LValue SlotLV = in InitCapturedStruct()
2727 LValue CapStruct = InitCapturedStruct(S); in EmitCapturedStmt()
2742 LValue CapStruct = InitCapturedStruct(S); in GenerateCapturedStmtArgument()
[all …]
H A DCGObjCRuntime.cpp53 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, in EmitValueForIvarAtOffset()
71 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); in EmitValueForIvarAtOffset()
113 return LValue::MakeBitfield(Addr, *Info, IvarTy, in EmitValueForIvarAtOffset()
H A DCGObjCRuntime.h86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
303 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGDecl.cpp687 const LValue &destLV, const Expr *init) { in tryEmitARCCopyWeakInit()
707 LValue srcLV = CGF.EmitLValue(srcExpr); in tryEmitARCCopyWeakInit()
737 LValue &lvalue, in drillIntoBlockVariable()
742 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS, in EmitNullabilityCheck()
764 LValue lvalue, bool capturedByInit) { in EmitScalarInit()
793 LValue tempLV = lvalue; in EmitScalarInit()
1828 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type); in EmitAutoVarInit()
1893 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1900 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit()
1922 LValue lvalue, bool capturedByInit) { in EmitExprAsInit()
[all …]
H A DCGExprScalar.cpp524 LValue LV = CGF.EmitObjCIsaExpr(E); in VisitObjCIsaExpr()
586 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostDec()
590 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostInc()
594 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreDec()
598 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreInc()
1999 LValue LV = CGF.MakeAddrLValue(Addr, DestTy); in VisitCastExpr()
2004 LValue SourceLVal = CGF.EmitLValue(E); in VisitCastExpr()
2007 LValue DestLV = CGF.MakeAddrLValue(Addr, DestTy); in VisitCastExpr()
3002 LValue ScalarExprEmitter::EmitCompoundAssignLValue( in EmitCompoundAssignLValue()
4197 LValue LHS; in VisitBinAssign()
[all …]
H A DCGCoroutine.cpp171 LValue LV;
300 LValue
310 LValue
H A DCGOpenMPRuntimeGPU.cpp1392 LValue ParLVal = in emitGenericVarsProlog()
1408 LValue VarAddr = CGF.MakeNaturalAlignAddrLValue(CastedVoidPtr, VarTy); in emitGenericVarsProlog()
1443 LValue Base = CGF.MakeAddrLValue(VoidPtr, VD->getType(), in emitGenericVarsProlog()
1628 LValue CounterLVal = CGF.MakeAddrLValue(Counter, Int32Ty); in emitCriticalRegion()
2572 LValue GlobLVal = CGF.EmitLValueForField( in emitListToGlobalCopyFunction()
2672 LValue GlobLVal = CGF.EmitLValueForField( in emitListToGlobalReduceFunction()
2778 LValue GlobLVal = CGF.EmitLValueForField( in emitGlobalToListCopyFunction()
2878 LValue GlobLVal = CGF.EmitLValueForField( in emitGlobalToListReduceFunction()
3751 LValue VDLVal; in adjustTargetSpecificDataForLambdas()
3761 LValue ThisLVal = in adjustTargetSpecificDataForLambdas()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp74 struct LValue;
2055 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
5712 LValue LVal; in HandleCovariantReturnAdjustment()
5992 LValue LV; in EvaluateCallArg()
6565 LValue LV; in HandleDestruction()
11449 LValue LVal; in tryEvaluateBuiltinObjectSize()
12864 LValue LV; in VisitBinCmp()
13301 LValue LV; in VisitCastExpr()
14533 LValue LV; in Evaluate()
14544 LValue LV; in Evaluate()
[all …]
H A DAPValue.cpp343 case LValue: in APValue()
414 else if (Kind == LValue) in DestroyDataAndMakeUninit()
458 case LValue: in needsCleanup()
593 case LValue: in Profile()
679 case APValue::LValue: { in printPretty()
1001 Kind = LValue; in MakeLValue()
1087 case APValue::LValue: { in getLVForValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h70 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop()
71 : Loc(Loc), IterVar(IVar), ListValue(LValue) {} in ForeachLoop()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp98 SVal ExprEngine::makeZeroElementRegion(ProgramStateRef State, SVal LValue, in makeZeroElementRegion() argument
105 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); in makeZeroElementRegion()
109 return LValue; in makeZeroElementRegion()

123