Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.h302 typedef llvm::function_ref<std::pair<LValue, LValue>(
2507 LValue
2520 LValue EmitLoadOfReferenceLValue(LValue RefLVal);
2700 void EmitAggregateCopyCtor(LValue Dest, LValue Src,
2712 void EmitAggregateCopy(LValue Dest, LValue Src, QualType EltTy,
3975 LValue EmitLValueForField(LValue Base, const FieldDecl* Field);
3981 LValue EmitLValueForFieldInitialization(LValue Base,
4079 void callCStructCopyConstructor(LValue Dst, LValue Src);
4080 void callCStructMoveConstructor(LValue Dst, LValue Src);
4081 void callCStructCopyAssignmentOperator(LValue Dst, LValue Src);
[all …]
H A DCGValue.h171 class LValue {
407 LValue R; in MakeAddr()
416 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt()
419 LValue R; in MakeVectorElt()
432 LValue R; in MakeExtVectorElt()
448 static LValue MakeBitfield(Address Addr, const CGBitFieldInfo &Info, in MakeBitfield()
451 LValue R; in MakeBitfield()
461 static LValue MakeGlobalReg(llvm::Value *V, CharUnits alignment, in MakeGlobalReg()
463 LValue R; in MakeGlobalReg()
472 static LValue MakeMatrixElt(Address matAddress, llvm::Value *Idx, in MakeMatrixElt()
[all …]
H A DCGExpr.cpp1280 LValue LV; in EmitCheckedLValue()
3978 LValue BaseLVal; in emitOMPArraySectionBase()
4173 LValue Base; in EmitExtVectorElementExpr()
4236 LValue BaseLV; in EmitMemberExpr()
4367 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
4535 LValue
4939 LValue
5225 LValue
5240 LValue
5299 LValue LV = in EmitObjCIvarRefLValue()
[all …]
H A DTargetInfo.h159 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs()
162 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
354 LValue Dst, in emitCUDADeviceBuiltinSurfaceDeviceCopy()
355 LValue Src) const { in emitCUDADeviceBuiltinSurfaceDeviceCopy()
361 LValue Dst, in emitCUDADeviceBuiltinTextureDeviceCopy()
362 LValue Src) const { in emitCUDADeviceBuiltinTextureDeviceCopy()
H A DCGExprAgg.cpp200 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr()
210 void EmitNullInitializationToLValue(LValue Address);
228 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue()
334 LValue DstLV = CGF.MakeAddrLValue( in EmitFinalDestCopy()
393 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
569 LValue elementLV = CGF.MakeAddrLValue( in EmitArrayInit()
617 LValue elementLV = CGF.MakeAddrLValue( in EmitArrayInit()
1202 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
1837 LValue elementLV = CGF.MakeAddrLValue( in VisitArrayInitLoopExpr()
2008 LValue LV = MakeAddrLValue(Temp, E->getType()); in EmitAggExprToLValue()
[all …]
H A DCGAtomic.cpp40 LValue LVal;
43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo()
208 LValue projectValue() const { in projectValue()
1687 LValue TempLVal = projectValue(); in emitCopyIntoMemory()
1819 LValue DesiredLVal; in EmitAtomicUpdateValue()
1826 LValue UpdateLVal; in EmitAtomicUpdateValue()
1842 DesiredLVal = LValue::MakeVectorElt( in EmitAtomicUpdateValue()
1932 LValue DesiredLVal; in EmitAtomicUpdateValue()
1946 DesiredLVal = LValue::MakeExtVectorElt( in EmitAtomicUpdateValue()
2056 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 DCGCall.h218 LValue LV; /// The argument is semantically a load from this l-value.
230 CallArg(LValue lv, QualType ty) in CallArg()
239 LValue getKnownLValue() const { in getKnownLValue()
266 LValue Source;
285 void addUncopiedAggregate(LValue LV, QualType type) { in addUncopiedAggregate()
304 void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { in addWriteback()
H A DCGOpenMPRuntime.h148 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses;
150 SmallVector<std::pair<LValue, LValue>, 4> OrigAddresses;
157 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E);
159 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E);
273 LValue IVLVal;
299 LValue IVLVal);
856 LValue TDBase;
1546 LValue SharedLVal);
1908 void emitDestroyClause(CodeGenFunction &CGF, LValue DepobjLVal,
1914 void emitUpdateClause(CodeGenFunction &CGF, LValue DepobjLVal,
[all …]
H A DCGNonTrivialStruct.cpp549 LValue DstLV, SrcLV; in visitVolatileTrivial()
558 LValue DstBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
562 LValue SrcBase = this->CGF->MakeAddrLValue( in visitVolatileTrivial()
718 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
781 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT); in visitARCStrong()
785 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT); in visitARCStrong()
875 void CodeGenFunction::callCStructDestructor(LValue Dst) { in callCStructDestructor()
886 void CodeGenFunction::callCStructCopyConstructor(LValue Dst, LValue Src) { in callCStructCopyConstructor()
898 void CodeGenFunction::callCStructCopyAssignmentOperator(LValue Dst, LValue Src in callCStructCopyAssignmentOperator()
911 void CodeGenFunction::callCStructMoveConstructor(LValue Dst, LValue Src) { in callCStructMoveConstructor()
[all …]
H A DCGOpenMPRuntime.cpp772 return LValue(); in emitSharedLValueUB()
3536 LValue Base = in emitProxyTaskFunction()
3773 LValue SrcBase; in emitPrivatesInit()
4440 LValue TDBase = in emitTaskInit()
4617 LValue Base; in emitDependData()
4623 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
4645 LValue &PosLVal = *Pos.get<LValue *>(); in emitDependData()
4975 LValue Base; in emitUpdateClause()
12502 LValue IVLVal;
12661 LValue IVLVal; in checkAndEmitLastprivateConditional()
[all …]
H A DCGStmtOpenMP.cpp3031 static std::pair<LValue, LValue>
3035 LValue LB = in emitDistributeParallelForInnerBounds()
3037 LValue UB = in emitDistributeParallelForInnerBounds()
3096 LValue LB = in emitDistributeParallelForDistributeInnerBoundParams()
3102 LValue UB = in emitDistributeParallelForDistributeInnerBoundParams()
3263 LValue ST = in EmitOMPWorksharingLoop()
3265 LValue IL = in EmitOMPWorksharingLoop()
3449 static std::pair<LValue, LValue>
3452 LValue LB = in emitForLoopBounds()
3454 LValue UB = in emitForLoopBounds()
[all …]
H A DCGObjC.cpp1429 LValue ivarLValue = in generateObjCSetterBody()
1610 LValue lvalue in Emit()
1882 LValue elementLValue; in EmitObjCForCollectionStmt()
2892 LValue lv = CGF.EmitLValue(e); in tryEmitARCRetainLoadOfScalar()
3243 LValue lvalue = in visitBinAssignUnsafeUnretained()
3556 std::pair<LValue,llvm::Value*>
3569 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreUnsafeUnretained()
3575 std::pair<LValue,llvm::Value*>
3592 LValue lvalue = EmitLValue(e->getLHS()); in EmitARCStoreStrong()
3606 std::pair<LValue,llvm::Value*>
[all …]
H A DCGStmt.cpp1217 LValue Dest = MakeAddrLValue(ReturnValue, Ty); in EmitReturnOfRValue()
1218 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue()
2171 const TargetInfo::ConstraintInfo &Info, LValue InputValue, in EmitAsmInputLValue()
2223 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
2353 std::vector<LValue> ResultRegDests; in EmitAsmStmt()
2404 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt()
2779 LValue Dest = ResultRegDests[i]; in EmitAsmStmt()
2809 LValue SlotLV = in InitCapturedStruct()
2831 LValue CapStruct = InitCapturedStruct(S); in EmitCapturedStmt()
2846 LValue CapStruct = InitCapturedStruct(S); in GenerateCapturedStmtArgument()
[all …]
H A DCGClass.cpp616 LValue &LHS) { in EmitLValueForAnyFieldInitialization()
644 LValue LHS; in EmitMemberInitializer()
977 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
1122 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1130 LValue FieldLHS = LHS; in pushEHDestructors()
1643 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
1644 LValue LV = CGF.EmitLValueForField(ThisLV, field); in Emit()
2110 LValue Src = EmitLValue(Arg); in EmitCXXConstructorCall()
2112 LValue Dest = MakeAddrLValue(This, DestTy); in EmitCXXConstructorCall()
2183 LValue SrcLVal = MakeAddrLValue(Src, SrcTy); in EmitCXXConstructorCall()
[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.h87 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
304 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
H A DCGCoroutine.cpp171 LValue LV;
300 LValue
310 LValue
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dgenk-timing.py121 def writeRandomOperation(self, LValue, LHS, RHS): argument
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))
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dgenk-timing.py116 def writeRandomOperation(self, LValue, LHS, RHS): argument
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))
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dgenk-timing.py116 def writeRandomOperation(self, LValue, LHS, RHS): argument
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))
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp74 struct LValue;
2059 static bool HasSameBase(const LValue &A, const LValue &B) { in HasSameBase()
5794 LValue LVal; in HandleCovariantReturnAdjustment()
6074 LValue LV; in EvaluateCallArg()
6644 LValue LV; in HandleDestruction()
11713 LValue LVal; in tryEvaluateBuiltinObjectSize()
13092 LValue LV; in VisitBinCmp()
13529 LValue LV; in VisitCastExpr()
14765 LValue LV; in Evaluate()
14776 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()
742 case APValue::LValue: { in printPretty()
1072 Kind = LValue; in MakeLValue()
1158 case APValue::LValue: { in getLVForValue()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp116 SVal getPointeeOf(const CheckerContext &C, Loc LValue) { in getPointeeOf() argument
117 const QualType ArgTy = LValue.getType(C.getASTContext()); in getPointeeOf()
119 return C.getState()->getSVal(LValue); in getPointeeOf()
123 return C.getState()->getSVal(LValue, C.getASTContext().CharTy); in getPointeeOf()
128 if (auto LValue = Arg.getAs<Loc>()) in getPointeeOf() local
129 return getPointeeOf(C, *LValue); in getPointeeOf()
/llvm-project-15.0.7/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()

123