HomeSort by: relevance | last modified time | path
    Searched refs:LValue (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenFunction.h 303 typedef llvm::function_ref<std::pair<LValue, LValue>(
1250 const LValue &lv) {
1326 LValue lvalue)
1327 : CGF(CGF), Data(OpaqueValueMappingData::bind(CGF, opaqueValue, 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
    [all...]
TargetInfo.h 153 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 {
CGValue.h 164 /// LValue - This represents an lvalue references. Because C/C++ allow
167 class LValue {
195 // The alignment to use when accessing this lvalue. (For vector elements,
205 // LValue is non-gc'able for any reason, including being a parameter or local
209 // Lvalue is a global reference of an objective-c object
212 // Lvalue is a thread local reference
215 // Lvalue has ARC imprecise lifetime. We store this inverted to try
220 // this lvalue.
324 // simple lvalue
    [all...]
CGCall.h 223 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) {
CGExpr.cpp 247 // 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);
598 "materialized temporary field is not a simple lvalue");
617 // Emit the expression as an lvalue.
618 LValue LV = EmitLValue(E);
1021 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV,
1045 // Store the updated result through the lvalue
5343 LValue lvalue = MakeAddrLValue(addr, type, AlignmentSource::Decl); local
    [all...]
CGAtomic.cpp 40 LValue LVal;
43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue)
46 assert(!lvalue.isGlobalReg());
48 if (lvalue.isSimple()) {
49 AtomicTy = lvalue.getType();
71 if (lvalue.getAlignment().isZero())
72 lvalue.setAlignment(AtomicAlign);
74 LVal = lvalue;
75 } else if (lvalue.isBitField())
799 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy); local
    [all...]
CGExprAgg.cpp 71 /// represents a value lvalue, this method emits the address of the lvalue,
82 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);
223 /// represents a value lvalue, this method emits the address of the lvalue,
226 LValue LV = CGF.EmitLValue(E);
317 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddress(), type)
    [all...]
CGExprComplex.cpp 78 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,
351 assert(lvalue.isSimple() && "non-simple complex l-value?");
352 if (lvalue.getType()->isAtomicType())
353 return CGF.EmitAtomicLoad(lvalue, loc).getComplexVal()
    [all...]
CGOpenMPRuntime.h 150 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses;
152 SmallVector<std::pair<LValue, LValue>, 4> OrigAddresses;
158 /// Emits lvalue for shared expression.
159 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E);
161 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E);
168 Address PrivateAddr, LValue SharedLVal,
175 /// Emits lvalue for the shared and original reduction item.
193 LValue SharedLVal
    [all...]
CGOpenMPRuntime.cpp 85 /// 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 getThreadIDVariableLValue(CodeGenFunction &CGF) override
    [all...]
CGNonTrivialStruct.cpp 554 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 Dst, LValue Src)
    [all...]
CGObjC.cpp 136 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); local
587 llvm::Value *result = EmitARCLoadWeakRetained(lvalue.getAddress(*this));
800 LValue lvalue, QualType type);
884 /// lvalue-to-rvalue expressions
1603 LValue lvalue variable
    [all...]
CGObjCRuntime.cpp 53 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
71 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy);
113 return LValue::MakeBitfield(Addr, *Info, IvarTy,
CGStmtOpenMP.cpp 285 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 OriginalLVal
    [all...]
CGObjCRuntime.h 86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
303 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
CGStmt.cpp 1153 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);
2393 // Make a fake lvalue for the return value slot.
2394 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy);
2630 LValue Dest = ResultRegDests[i]
    [all...]
CGClass.cpp 618 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,
898 /// lvalue-to-rvalue conversion on the object but not its members.
979 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy);
980 LValue Dest = CGF.EmitLValueForFieldInitialization(DestLV, FirstField);
982 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy)
    [all...]
CGExprScalar.cpp 243 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 EmitCompoundAssignLValue(const CompoundAssignOperator *E
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
genk-timing.py 116 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))
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
genk-timing.py 121 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))
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
genk-timing.py 116 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))
  /src/external/apache2/llvm/dist/clang/lib/AST/
ExprConstant.cpp 74 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
239 /// and we cannot perform lvalue-to-rvalue conversions on them.
284 assert(V.isLValue() && "Non-LValue used to make an LValue designator?");
531 const LValue *This;
585 const FunctionDecl *Callee, const LValue *This
    [all...]
APValue.cpp 118 assert(is<TypeInfoLValue>() && "not a type_info lvalue");
123 assert(is<DynamicAllocLValue>() && "not a dynamic allocation lvalue");
343 case LValue:
414 else if (Kind == LValue)
458 case LValue:
593 case LValue:
679 case APValue::LValue: {
701 // No lvalue path: just print the offset.
738 // We have an lvalue path. Print it out nicely.
762 // The lvalue refers to a class type, so the next path entry is a bas
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
TGParser.h 70 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue)
71 : Loc(Loc), IterVar(IVar), ListValue(LValue) {}
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExprEngineCXX.cpp 98 SVal ExprEngine::makeZeroElementRegion(ProgramStateRef State, SVal LValue,
105 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue);
109 return LValue;

Completed in 45 milliseconds

1 2 3