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

123

/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.h303 typedef llvm::function_ref<std::pair<LValue, LValue>(
1250 const LValue &lv) {
1326 LValue lvalue)
1529 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues;
2167 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) {
2206 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init);
2430 LValue MakeAddrLValue(Address Addr, QualType T,
2432 return LValue::MakeAddr(Addr, T, getContext(), LValueBaseInfo(Source),
2436 LValue MakeAddrLValu
[all...]
H A DTargetInfo.h153 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue,
156 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString,
348 LValue Dst,
349 LValue Src) const {
355 LValue Dst,
356 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.h223 LValue LV; /// The argument is semantically a load from this l-value.
235 CallArg(LValue lv, QualType ty)
240 /// \returns an independent RValue. If the CallArg contains an LValue,
244 LValue getKnownLValue() const {
271 LValue Source;
290 void addUncopiedAggregate(LValue LV, QualType type) {
309 void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) {
H A DCGExpr.cpp247 // FIXME: This function should take an LValue as an argument.
265 LValue LV = MakeAddrLValue(Location, E->getType());
441 LValue CodeGenFunction::
472 LValue RefTempDst = MakeAddrLValue(Object, M->getType(),
595 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl);
618 LValue LV = EmitLValue(E);
1021 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV,
1067 // LValue Expression Emission
1164 LValue LV = EmitLValue(UO->getSubExpr());
1218 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(),
799 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy);
937 LValue AtomicVal = MakeAddrLValue(Ptr, AtomicTy);
1455 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(),
1459 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 DCGOpenMPRuntime.cpp85 /// Get an LValue for the current ThreadID variable.
86 /// \return LValue for thread id variable. This LValue always has type int32*.
87 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF);
159 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue(
176 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue(
208 /// Get an LValue for the current ThreadID variable.
209 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override;
281 /// Get an LValue for the current ThreadID variable.
282 LValue getThreadIDVariableLValu
[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 DCGObjCRuntime.cpp53 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
71 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy);
113 return LValue::MakeBitfield(Addr, *Info, IvarTy,
H A DCGObjC.cpp136 LValue LV = MakeNaturalAlignAddrLValue(Constant, IdTy);
170 LValue LV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i),
181 LValue KeyLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Keys, i),
188 LValue ValueLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i),
586 LValue lvalue = EmitLValue(lvalueExpr);
800 LValue lvalue, QualType type);
1145 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1234 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
1428 LValue ivarLValue =
1603 LValue lvalu
[all...]
H A DCGStmtOpenMP.cpp285 LValue CodeGenFunction::EmitOMPSharedLValue(const Expr *E) {
345 LValue DstLV = MakeAddrLValue(DstAddr, Ctx.getUIntPtrType());
350 LValue SrcLV =
369 LValue AddrLV) {
545 LValue ArgLVal = CGF.MakeAddrLValue(LocalAddr, Args[Cnt]->getType(),
653 LValue LV = WrapperCGF.MakeAddrLValue(
668 LValue LV = WrapperCGF.MakeAddrLValue(WrapperCGF.GetAddrOfLocalVar(Arg),
753 LValue Dest = MakeAddrLValue(DestAddr, OriginalType);
754 LValue Src = MakeAddrLValue(SrcAddr, OriginalType);
842 LValue OriginalLVa
[all...]
H A DCGObjCRuntime.h86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
303 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGStmt.cpp1153 LValue Dest = MakeAddrLValue(ReturnValue, Ty);
1154 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty);
1214 // FIXME: Clean this up by using an LValue for ReturnTemp,
2052 LValue InputValue, QualType InputType,
2109 LValue Dest = EmitLValue(InputExpr);
2231 std::vector<LValue> ResultRegDests;
2279 LValue Dest = EmitLValue(OutExpr);
2394 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy);
2630 LValue Dest = ResultRegDests[i];
2651 LValue CodeGenFunctio
[all...]
H A DCGClass.cpp618 LValue &LHS) {
646 LValue LHS;
648 // If a base constructor is being emitted, create an LValue that has the
674 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy);
675 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field);
692 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 DCGExprScalar.cpp243 LValue EmitLValue(const Expr *E) { return CGF.EmitLValue(E); }
244 LValue EmitCheckedLValue(const Expr *E, CodeGenFunction::TypeCheckKind TCK) {
251 Value *EmitLoadOfLValue(LValue LV, SourceLocation Loc) {
522 LValue LV = CGF.EmitObjCIsaExpr(E);
584 LValue LV = EmitLValue(E->getSubExpr());
588 LValue LV = EmitLValue(E->getSubExpr());
592 LValue LV = EmitLValue(E->getSubExpr());
596 LValue LV = EmitLValue(E->getSubExpr());
604 llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV,
791 LValue EmitCompoundAssignLValu
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dgenk-timing.py116 def writeRandomOperation(self, LValue, LHS, RHS):
121 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
129 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
131 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
133 self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
135 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dgenk-timing.py121 def writeRandomOperation(self, LValue, LHS, RHS):
126 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
134 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
136 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
138 self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
140 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dgenk-timing.py116 def writeRandomOperation(self, LValue, LHS, RHS):
121 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
129 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
131 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
133 self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
135 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp74 struct LValue;
85 /// Get an LValue path entry, which is known to not be an array index, as a
90 /// Get an LValue path entry, which is known to not be an array index, as a
95 /// Determine whether this LValue path entry for a base class names a virtual
185 /// Determines if an LValue with the given LValueBase will have an unsized
284 assert(V.isLValue() && "Non-LValue used to make an LValue designator?");
531 const LValue *This;
585 const FunctionDecl *Callee, const LValue *This,
625 ScopeKind Scope, LValue
1549 struct LValue { struct in namespace:__anon321
[all...]
H A DAPValue.cpp343 case LValue:
414 else if (Kind == LValue)
458 case LValue:
593 case LValue:
679 case APValue::LValue: {
1001 Kind = LValue;
1087 case APValue::LValue: {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.h70 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) argument
71 : Loc(Loc), IterVar(IVar), ListValue(LValue) {}
/netbsd-current/external/apache2/llvm/dist/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;

Completed in 679 milliseconds

123