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

12

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGValue.h149 /// LValue - This represents an lvalue references. Because C/C++ allow
152 class LValue { class in namespace:clang::CodeGen
189 // LValue is non-gc'able for any reason, including being a parameter or local
216 /// TBAAInfo - TBAA information to attach to dereferences of this LValue.
371 static LValue MakeAddr(Address address, QualType type,
378 LValue R;
386 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx,
388 LValue R;
397 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts,
399 LValue
[all...]
H A DCodeGenFunction.h816 const LValue &lv) {
881 LValue lvalue)
992 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues;
1354 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init,
1551 LValue MakeAddrLValue(Address Addr, QualType T,
1553 return LValue::MakeAddr(Addr, T, getContext(), AlignSource,
1557 LValue MakeAddrLValue(llvm::Value *V, QualType T, CharUnits Alignment,
1559 return LValue::MakeAddr(Address(V, Alignment), T, getContext(),
1563 LValue MakeNaturalAlignPointeeAddrLValue(llvm::Value *V, QualType T);
1564 LValue MakeNaturalAlignAddrLValu
[all...]
H A DCGExpr.cpp172 // FIXME: This function should take an LValue as an argument.
189 LValue LV = MakeAddrLValue(Location, E->getType());
349 LValue CodeGenFunction::
369 LValue RefTempDst = MakeAddrLValue(Object, M->getType(),
438 LValue LV = MakeAddrLValue(Object, E->getType(),
462 LValue LV = EmitLValue(E);
747 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV,
790 // LValue Expression Emission
864 LValue LV = EmitLValue(UO->getSubExpr());
909 LValue CodeGenFunctio
[all...]
H A DTargetInfo.h135 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue,
138 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString,
H A DCGExprComplex.cpp80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
84 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
167 LValue LV = CGF.EmitLValue(E->getSubExpr());
227 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
275 LValue EmitBinAssignLValue(const BinaryOperator *E,
318 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue,
344 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue,
438 LValue origLV = CGF.EmitLValue(Op);
823 LValue ComplexExprEmitter::
853 LValue LH
[all...]
H A DCGExprAgg.cpp80 void EmitFinalDestCopy(QualType type, const LValue &src);
188 LValue LV = CGF.EmitPseudoObjectLValue(E);
197 void EmitInitializationToLValue(Expr *E, LValue Address);
198 void EmitNullInitializationToLValue(LValue Address);
216 LValue LV = CGF.EmitLValue(E);
270 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddress(), type);
275 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src) {
319 LValue Array = CGF.EmitLValue(E->getSubExpr());
344 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddress(), E->getType());
345 LValue Star
[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(),
693 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy);
781 LValue AtomicVal = MakeAddrLValue(Ptr, AtomicTy);
1196 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(),
1200 LValue
[all...]
H A DCGCall.h64 LValue Source;
91 void addWriteback(LValue srcLV, Address temporary,
H A DCGObjCRuntime.h85 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
262 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGObjCRuntime.cpp86 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
100 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy);
143 return LValue::MakeBitfield(Addr, *Info,
H A DCGClass.cpp565 LValue LHS,
572 LValue LV = LHS;
584 // Update the LValue.
682 LValue &LHS) {
710 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy);
731 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy);
732 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field);
752 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, LValue LHS,
1053 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy);
1054 LValue Des
[all...]
H A DCGStmtOpenMP.cpp48 StringRef Name, LValue AddrLV,
148 LValue ArgLVal =
152 LValue CastedArgLVal =
1392 static LValue EmitOMPHelperVar(CodeGenFunction &CGF,
1489 LValue LB =
1491 LValue UB =
1493 LValue ST =
1495 LValue IL =
1620 static LValue createSectionLVal(CodeGenFunction &CGF, QualType Ty,
1638 LValue L
[all...]
H A DCGDecl.cpp602 const LValue &destLV, const Expr *init) {
622 LValue srcLV = CGF.EmitLValue(srcExpr);
653 LValue &lvalue,
659 LValue lvalue, bool capturedByInit) {
688 LValue tempLV = lvalue;
768 void CodeGenFunction::EmitScalarInit(llvm::Value *init, LValue lvalue) {
1208 LValue lv = MakeAddrLValue(Loc, type);
1215 LValue lv = MakeAddrLValue(Loc, type);
1276 LValue lvalue, bool capturedByInit) {
1788 LValue l
[all...]
H A DCGObjC.cpp149 LValue LV = MakeAddrLValue(
161 LValue KeyLV = MakeAddrLValue(
169 LValue ValueLV = MakeAddrLValue(
356 LValue lvalue = EmitLValue(lvalueExpr);
554 LValue lvalue, QualType type);
900 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
982 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1176 LValue ivarLValue =
1356 LValue lvalue
1422 LValue L
[all...]
H A DCGStmt.cpp961 // FIXME: Clean this up by using an LValue for ReturnTemp,
1653 LValue InputValue, QualType InputType,
1702 LValue Dest = EmitLValue(InputExpr);
1769 std::vector<LValue> ResultRegDests;
1804 LValue Dest = EmitLValue(OutExpr);
1884 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy);
2085 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) {
2090 LValue SlotLV =
2097 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField);
2113 LValue CapStruc
[all...]
H A DCGExprScalar.cpp84 LValue EmitLValue(const Expr *E) { return CGF.EmitLValue(E); }
85 LValue EmitCheckedLValue(const Expr *E, CodeGenFunction::TypeCheckKind TCK) {
92 Value *EmitLoadOfLValue(LValue LV, SourceLocation Loc) {
297 LValue LV = CGF.EmitObjCIsaExpr(E);
336 LValue LV = EmitLValue(E->getSubExpr());
340 LValue LV = EmitLValue(E->getSubExpr());
344 LValue LV = EmitLValue(E->getSubExpr());
348 LValue LV = EmitLValue(E->getSubExpr());
356 llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV,
498 LValue EmitCompoundAssignLValu
[all...]
H A DCGOpenMPRuntime.cpp71 /// \brief Get an LValue for the current ThreadID variable.
72 /// \return LValue for thread id variable. This LValue always has type int32*.
73 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
137 /// \brief Get an LValue for the current ThreadID variable.
138 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
275 static LValue emitLoadOfPointerLValue(CodeGenFunction &CGF, Address PtrAddr,
283 LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) {
305 LValue CGOpenMPTaskOutlinedRegionInfo::getThreadIDVariableLValue(
2589 LValue TDBas
[all...]
H A DCGCall.cpp776 QualType Ty, LValue LV, SmallVectorImpl<llvm::Argument *>::iterator &AI) {
784 LValue LV = MakeAddrLValue(EltAddr, CAExp->EltTy);
794 LValue SubLV = MakeAddrLValue(Base, BS->getType());
801 LValue SubLV = EmitLValueForField(LV, FD);
839 LValue LV = MakeAddrLValue(This, Ty);
2108 LValue LV = MakeAddrLValue(Alloca, Ty);
2569 const LValue &srcLV = writeback.Source;
2663 LValue srcLV;
2979 LValue L = EmitLValue(cast<CastExpr>(E)->getSubExpr());
3147 LValue Ds
[all...]
H A DCGCXXABI.h552 virtual LValue EmitThreadLocalVarDeclLValue(CodeGenFunction &CGF,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp92 static SVal makeZeroElementRegion(ProgramStateRef State, SVal LValue, argument
99 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue);
102 return LValue;
120 SVal LValue = State->getLValue(Var, LCtx); local
122 LValue = makeZeroElementRegion(State, LValue, Ty);
123 return LValue.getAsRegion();
H A DBugReporterVisitors.cpp206 if (Optional<Loc> LValue = RetVal.getAs<Loc>())
207 RetVal = State->getSVal(*LValue);
260 Optional<Loc> LValue; local
262 if ((LValue = V.getAs<Loc>())) {
263 SVal RValue = State->getRawSVal(*LValue, RetE->getType());
310 if (LValue) {
311 if (const MemRegion *MR = LValue->getAsRegion()) {
1029 // At this point we are dealing with the region's LValue.
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp58 struct LValue;
87 /// Get an LValue path entry, which is known to not be an array index, as a
96 /// Get an LValue path entry, which is known to not be an array index, as a
101 /// Get an LValue path entry, which is known to not be an array index, as a
106 /// Determine whether this LValue path entry for a base class names a virtual
323 const LValue *This;
337 const FunctionDecl *Callee, const LValue *This,
351 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable)
361 const LValue *OldThis;
897 const FunctionDecl *Callee, const LValue *Thi
992 struct LValue { struct in namespace:__anon3650
[all...]
H A DAPValue.cpp150 case LValue:
200 else if (Kind == LValue)
241 case LValue:
297 case LValue:
298 OS << "LValue: <todo>";
376 case APValue::LValue: {
633 Kind = LValue;
/freebsd-11.0-release/contrib/llvm/lib/TableGen/
H A DTGParser.h51 ForeachLoop(VarInit *IVar, ListInit *LValue) argument
52 : IterVar(IVar), ListValue(LValue) {}
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h48 LValue, enumerator in enum:clang::APValue::ValueKind
186 bool isLValue() const { return Kind == LValue; }

Completed in 520 milliseconds

12