Searched refs:LValue (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.h288 typedef llvm::function_ref<std::pair<LValue, LValue>(
1177 const LValue &lv) {
1253 LValue lvalue)
1447 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues;
2084 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) {
2123 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init);
2347 LValue MakeAddrLValue(Address Addr, QualType T,
2349 return LValue::MakeAddr(Addr, T, getContext(), LValueBaseInfo(Source),
2353 LValue MakeAddrLValu
[all...]
H A DTargetInfo.h142 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue,
145 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString,
339 LValue Dst,
340 LValue Src) const {
346 LValue Dst,
347 LValue Src) const {
H A DCGValue.h164 /// LValue - This represents an lvalue references. Because C/C++ allow
167 class LValue { class in namespace:clang::CodeGen
205 // LValue is non-gc'able for any reason, including being a parameter or local
389 static LValue MakeAddr(Address address, QualType type, ASTContext &Context,
394 LValue R;
402 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx,
405 LValue R;
414 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts,
417 LValue R;
432 static LValue MakeBitfiel
[all...]
H A DCGCall.h221 LValue LV; /// The argument is semantically a load from this l-value.
233 CallArg(LValue lv, QualType ty)
238 /// \returns an independent RValue. If the CallArg contains an LValue,
242 LValue getKnownLValue() const {
269 LValue Source;
288 void addUncopiedAggregate(LValue LV, QualType type) {
307 void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) {
H A DCGExpr.cpp239 // FIXME: This function should take an LValue as an argument.
257 LValue LV = MakeAddrLValue(Location, E->getType());
435 LValue CodeGenFunction::
466 LValue RefTempDst = MakeAddrLValue(Object, M->getType(),
589 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl);
612 LValue LV = EmitLValue(E);
1015 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV,
1061 // LValue Expression Emission
1158 LValue LV = EmitLValue(UO->getSubExpr());
1205 LValue CodeGenFunctio
[all...]
H A DCGAtomic.cpp40 LValue LVal;
43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue)
97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()),
140 const LValue &getAtomicLValue() const { return LVal; }
200 LValue projectValue() const {
206 return LValue::MakeAddr(addr, getValueType(), CGF.getContext(),
797 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy);
921 LValue AtomicVal = MakeAddrLValue(Ptr, AtomicTy);
1431 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(),
1435 LValue
[all...]
H A DCGExprAgg.cpp82 void EmitFinalDestCopy(QualType type, const LValue &src,
198 LValue LV = CGF.EmitPseudoObjectLValue(E);
207 void EmitInitializationToLValue(Expr *E, LValue Address);
208 void EmitNullInitializationToLValue(LValue Address);
226 LValue LV = CGF.EmitLValue(E);
317 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddress(), type);
322 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src,
332 LValue DstLV = CGF.MakeAddrLValue(
378 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type);
379 LValue SrcL
[all...]
H A DCGExprComplex.cpp78 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
82 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
193 LValue LV = CGF.EmitLValue(E->getSubExpr());
257 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
309 LValue EmitBinAssignLValue(const BinaryOperator *E,
349 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue,
375 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue,
471 LValue origLV = CGF.EmitLValue(Op);
478 LValue SourceLVal = CGF.EmitLValue(Op);
481 LValue DestL
[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);
168 Address PrivateAddr, LValue SharedLVal,
193 LValue SharedLVal,
207 /// Returns LValue for the reduction item.
208 LValue getSharedLValu
[all...]
H A DCGNonTrivialStruct.cpp554 LValue DstLV, SrcLV;
563 LValue DstBase = this->CGF->MakeAddrLValue(
567 LValue SrcBase = this->CGF->MakeAddrLValue(
721 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT);
784 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT);
788 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT);
821 void CodeGenFunction::defaultInitNonTrivialCStructVar(LValue Dst) {
854 void CodeGenFunction::callCStructDefaultConstructor(LValue Dst) {
878 void CodeGenFunction::callCStructDestructor(LValue Dst) {
889 void CodeGenFunction::callCStructCopyConstructor(LValue Ds
[all...]
H A DCGOpenMPRuntime.cpp84 /// Get an LValue for the current ThreadID variable.
85 /// \return LValue for thread id variable. This LValue always has type int32*.
86 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
158 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue(
175 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue(
207 /// Get an LValue for the current ThreadID variable.
208 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
280 /// Get an LValue for the current ThreadID variable.
281 LValue getThreadIDVariableLValu
[all...]
H A DCGObjC.cpp134 LValue LV = MakeNaturalAlignAddrLValue(Constant, IdTy);
168 LValue LV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i),
179 LValue KeyLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Keys, i),
186 LValue ValueLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i),
515 LValue lvalue = EmitLValue(lvalueExpr);
729 LValue lvalue, QualType type);
1073 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1162 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1356 LValue ivarLValue =
1532 LValue lvalu
[all...]
H A DCGObjCRuntime.cpp53 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
71 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy);
113 return LValue::MakeBitfield(Addr, *Info, IvarTy,
H A DCGStmtOpenMP.cpp270 LValue CodeGenFunction::EmitOMPSharedLValue(const Expr *E) {
330 LValue DstLV = MakeAddrLValue(DstAddr, Ctx.getUIntPtrType());
335 LValue SrcLV =
354 LValue AddrLV) {
530 LValue ArgLVal = CGF.MakeAddrLValue(LocalAddr, Args[Cnt]->getType(),
637 LValue LV = WrapperCGF.MakeAddrLValue(
647 LValue LV = WrapperCGF.MakeAddrLValue(WrapperCGF.GetAddrOfLocalVar(Arg),
731 LValue Dest = MakeAddrLValue(DestAddr, OriginalType);
732 LValue Src = MakeAddrLValue(SrcAddr, OriginalType);
820 LValue OriginalLVa
[all...]
H A DCGObjCRuntime.h85 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
289 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGStmt.cpp1063 LValue Dest = MakeAddrLValue(ReturnValue, Ty);
1064 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty);
1124 // FIXME: Clean this up by using an LValue for ReturnTemp,
1863 LValue InputValue, QualType InputType,
1920 LValue Dest = EmitLValue(InputExpr);
2036 std::vector<LValue> ResultRegDests;
2075 LValue Dest = EmitLValue(OutExpr);
2176 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy);
2380 LValue Dest = ResultRegDests[i];
2401 LValue CodeGenFunctio
[all...]
H A DCGDecl.cpp672 const LValue &destLV, const Expr *init) {
692 LValue srcLV = CGF.EmitLValue(srcExpr);
722 LValue &lvalue,
727 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS,
749 LValue lvalue, bool capturedByInit) {
777 LValue tempLV = lvalue;
1793 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type);
1858 LValue lv = MakeAddrLValue(Loc, type);
1865 LValue lv = MakeAddrLValue(Loc, type);
1887 LValue lvalu
[all...]
H A DCGClass.cpp617 LValue &LHS) {
645 LValue LHS;
647 // If a base constructor is being emitted, create an LValue that has the
673 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy);
674 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field);
691 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, LValue LHS,
979 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy);
980 LValue Dest = CGF.EmitLValueForFieldInitialization(DestLV, FirstField);
982 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy);
983 LValue Sr
[all...]
H A DCGCoroutine.cpp171 LValue LV;
300 LValue
310 LValue
H A DCGExprScalar.cpp242 LValue EmitLValue(const Expr *E) { return CGF.EmitLValue(E); }
243 LValue EmitCheckedLValue(const Expr *E, CodeGenFunction::TypeCheckKind TCK) {
250 Value *EmitLoadOfLValue(LValue LV, SourceLocation Loc) {
522 LValue LV = CGF.EmitObjCIsaExpr(E);
591 LValue LV = EmitLValue(E->getSubExpr());
595 LValue LV = EmitLValue(E->getSubExpr());
599 LValue LV = EmitLValue(E->getSubExpr());
603 LValue LV = EmitLValue(E->getSubExpr());
611 llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV,
797 LValue EmitCompoundAssignLValu
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp72 struct LValue;
124 /// Get an LValue path entry, which is known to not be an array index, as a
129 /// Get an LValue path entry, which is known to not be an array index, as a
134 /// Determine whether this LValue path entry for a base class names a virtual
190 /// Determines if an LValue with the given LValueBase will have an unsized
289 assert(V.isLValue() && "Non-LValue used to make an LValue designator?");
503 const LValue *This;
552 const FunctionDecl *Callee, const LValue *This,
592 bool IsLifetimeExtended, LValue
1491 struct LValue { struct in namespace:__anon1582
[all...]
H A DAPValue.cpp268 case LValue:
320 else if (Kind == LValue)
364 case LValue:
428 case APValue::LValue: {
739 Kind = LValue;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h66 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) argument
67 : Loc(Loc), IterVar(IVar), ListValue(LValue) {}
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp98 SVal ExprEngine::makeZeroElementRegion(ProgramStateRef State, SVal LValue, argument
105 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue);
109 return LValue;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h129 LValue, enumerator in enum:clang::APValue::ValueKind
366 bool isLValue() const { return Kind == LValue; }

Completed in 265 milliseconds

12