| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.h | 303 typedef llvm::function_ref<std::pair<LValue, LValue>( 1293 const LValue &lv) { 1369 LValue lvalue) 1570 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues; 2227 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) { 2266 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init); 2491 LValue MakeAddrLValue(Address Addr, QualType T, 2493 return LValue::MakeAddr(Addr, T, getContext(), LValueBaseInfo(Source), 2497 LValue MakeAddrLValue(Address Addr, QualType T, LValueBaseInfo BaseInfo, 2499 return LValue::MakeAddr(Addr, T, getContext(), BaseInfo, TBAAInfo); [all …]
|
| H A D | CGValue.h | 171 class LValue { 402 static LValue MakeAddr(Address address, QualType type, ASTContext &Context, in MakeAddr() 407 LValue R; in MakeAddr() 416 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt() 419 LValue R; in MakeVectorElt() 429 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts, in MakeExtVectorElt() 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() [all …]
|
| H A D | CGExpr.cpp | 264 LValue LV = MakeAddrLValue(Location, E->getType()); in EmitAnyExprToMem() 440 LValue CodeGenFunction:: 471 LValue RefTempDst = MakeAddrLValue(Object, M->getType(), in EmitMaterializeTemporaryExpr() 595 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr() 618 LValue LV = EmitLValue(E); in EmitReferenceBindingToExpr() 989 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, in EmitComplexPrePostIncDec() 1134 LValue LV = EmitLValue(UO->getSubExpr()); in EmitPointerWithAlignment() 1149 LValue LV = EmitLValue(Call->getArg(0)); in EmitPointerWithAlignment() 1205 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue() 1237 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() [all …]
|
| H A D | TargetInfo.h | 172 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs() 175 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs() 367 LValue Dst, in emitCUDADeviceBuiltinSurfaceDeviceCopy() 368 LValue Src) const { in emitCUDADeviceBuiltinSurfaceDeviceCopy() 374 LValue Dst, in emitCUDADeviceBuiltinTextureDeviceCopy() 375 LValue Src) const { in emitCUDADeviceBuiltinTextureDeviceCopy()
|
| H A D | CGOpenMPRuntime.h | 149 SmallVector<std::pair<LValue, LValue>, 4> SharedAddresses; 151 SmallVector<std::pair<LValue, LValue>, 4> OrigAddresses; 158 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E); 160 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E); 207 LValue getSharedLValue(unsigned N) const { return SharedAddresses[N].first; } in getSharedLValue() 209 LValue getOrigLValue(unsigned N) const { return OrigAddresses[N].first; } in getOrigLValue() 274 LValue IVLVal; 300 LValue IVLVal); 455 const FieldDecl *, LValue>>> 629 LValue TDBase; [all …]
|
| H A D | CGExprAgg.cpp | 82 void EmitFinalDestCopy(QualType type, const LValue &src, 204 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr() 225 void EmitInitializationToLValue(Expr *E, LValue Address); 226 void EmitNullInitializationToLValue(LValue Address); 244 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue() 335 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddress(), type); in EmitFinalDestCopy() 340 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src, in EmitFinalDestCopy() 350 LValue DstLV = CGF.MakeAddrLValue( in EmitFinalDestCopy() 396 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy() 397 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy() [all …]
|
| H A D | CGAtomic.cpp | 40 LValue LVal; 43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo() 96 LVal = LValue::MakeBitfield(Address(Addr, IntTy, lvalue.getAlignment()), in AtomicInfo() 139 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue() 208 LValue projectValue() const { in projectValue() 214 return LValue::MakeAddr(addr, getValueType(), CGF.getContext(), in projectValue() 820 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy); in EmitAtomicExpr() 970 LValue AtomicVal = MakeAddrLValue(Ptr, AtomicTy); in EmitAtomicExpr() 1509 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(), in convertAtomicTempToRValue() 1513 LValue::MakeVectorElt(addr, LVal.getVectorIdx(), LVal.getType(), in convertAtomicTempToRValue() [all …]
|
| H A D | CGCall.h | 218 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 D | 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()); in VisitPrePostIncDec() 262 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 328 LValue EmitBinAssignLValue(const BinaryOperator *E, 368 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, in EmitLoadOfLValue() 394 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue, in EmitStoreOfComplex() 490 LValue origLV = CGF.EmitLValue(Op); in EmitCast() 497 LValue SourceLVal = CGF.EmitLValue(Op); in EmitCast() 500 LValue DestLV = CGF.MakeAddrLValue(Addr, DestTy); in EmitCast() [all …]
|
| H A D | CGNonTrivialStruct.cpp | 549 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() 818 void CodeGenFunction::defaultInitNonTrivialCStructVar(LValue Dst) { in defaultInitNonTrivialCStructVar() 851 void CodeGenFunction::callCStructDefaultConstructor(LValue Dst) { in callCStructDefaultConstructor() 875 void CodeGenFunction::callCStructDestructor(LValue Dst) { in callCStructDestructor() 886 void CodeGenFunction::callCStructCopyConstructor(LValue Dst, LValue Src) { in callCStructCopyConstructor() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 91 virtual LValue getThreadIDVariableLValue(CodeGenFunction &CGF); 163 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue( in Enter() 180 LValue PartIdLVal = CGF.EmitLoadOfPointerLValue( in emitUntiedSwitch() 213 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override; 286 LValue getThreadIDVariableLValue(CodeGenFunction &CGF) override { in getThreadIDVariableLValue() 650 LValue LV = CGF.MakeNaturalAlignAddrLValue(GV, Ty); in emitInitWithReductionInitializer() 765 LValue ReductionCodeGen::emitSharedLValue(CodeGenFunction &CGF, const Expr *E) { in emitSharedLValue() 769 LValue ReductionCodeGen::emitSharedLValueUB(CodeGenFunction &CGF, in emitSharedLValueUB() 773 return LValue(); in emitSharedLValueUB() 815 LValue First = emitSharedLValue(CGF, ClausesData[N].Shared); in emitSharedOrigLValue() [all …]
|
| H A D | CGObjC.cpp | 140 LValue LV = MakeNaturalAlignAddrLValue(Constant, IdTy); in EmitObjCCollectionLiteral() 174 LValue LV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i), in EmitObjCCollectionLiteral() 185 LValue KeyLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Keys, i), in EmitObjCCollectionLiteral() 192 LValue ValueLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Objects, i), in EmitObjCCollectionLiteral() 588 LValue lvalue = EmitLValue(lvalueExpr); in EmitObjCMessageExpr() 803 LValue lvalue, QualType type); 1144 LValue Src = in generateObjCGetterBody() 1146 LValue Dst = MakeAddrLValue(ReturnValue, ivar->getType()); in generateObjCGetterBody() 1184 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody() 1270 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody() [all …]
|
| H A D | CGStmtOpenMP.cpp | 290 LValue CodeGenFunction::EmitOMPSharedLValue(const Expr *E) { in EmitOMPSharedLValue() 350 LValue DstLV = MakeAddrLValue(DstAddr, Ctx.getUIntPtrType()); in GenerateOpenMPCapturedVars() 355 LValue SrcLV = in GenerateOpenMPCapturedVars() 374 LValue AddrLV) { in castValueFromUintptr() 559 LValue ArgLVal = CGF.MakeAddrLValue(LocalAddr, Args[Cnt]->getType(), in emitOutlinedFunctionPrologue() 665 LValue LV = WrapperCGF.MakeAddrLValue( in GenerateOpenMPCapturedStmtFunction() 681 LValue LV = in GenerateOpenMPCapturedStmtFunction() 770 LValue Dest = MakeAddrLValue(DestAddr, OriginalType); in EmitOMPCopy() 771 LValue Src = MakeAddrLValue(SrcAddr, OriginalType); in EmitOMPCopy() 858 LValue OriginalLVal; in EmitOMPFirstprivateClause() [all …]
|
| H A D | CGClass.cpp | 617 LValue &LHS) { in EmitLValueForAnyFieldInitialization() 645 LValue LHS; in EmitMemberInitializer() 673 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer() 674 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field); in EmitMemberInitializer() 691 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, LValue LHS, in EmitInitializerForField() 978 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy() 979 LValue Dest = CGF.EmitLValueForFieldInitialization(DestLV, FirstField); in emitMemcpy() 981 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy() 982 LValue Src = CGF.EmitLValueForFieldInitialization(SrcLV, FirstField); in emitMemcpy() 1123 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors() [all …]
|
| H A D | CGStmt.cpp | 1228 LValue Dest = MakeAddrLValue(ReturnValue, Ty); in EmitReturnOfRValue() 1229 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue() 2182 const TargetInfo::ConstraintInfo &Info, LValue InputValue, in EmitAsmInputLValue() 2234 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput() 2364 std::vector<LValue> ResultRegDests; in EmitAsmStmt() 2415 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt() 2539 LValue ReturnSlot = MakeAddrLValueWithoutTBAA(ReturnValue, FnRetTy); in EmitAsmStmt() 2790 LValue Dest = ResultRegDests[i]; in EmitAsmStmt() 2815 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) { in InitCapturedStruct() 2820 LValue SlotLV = in InitCapturedStruct() [all …]
|
| H A D | CGObjCRuntime.cpp | 54 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, in EmitValueForIvarAtOffset() 72 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); in EmitValueForIvarAtOffset() 114 return LValue::MakeBitfield(Addr, *Info, IvarTy, in EmitValueForIvarAtOffset()
|
| H A D | CGObjCRuntime.h | 87 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, 304 virtual LValue EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF,
|
| H A D | CGDecl.cpp | 702 const LValue &destLV, const Expr *init) { in tryEmitARCCopyWeakInit() 722 LValue srcLV = CGF.EmitLValue(srcExpr); in tryEmitARCCopyWeakInit() 752 LValue &lvalue, in drillIntoBlockVariable() 757 void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS, in EmitNullabilityCheck() 779 LValue lvalue, bool capturedByInit) { in EmitScalarInit() 808 LValue tempLV = lvalue; in EmitScalarInit() 1845 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type); in EmitAutoVarInit() 1910 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit() 1917 LValue lv = MakeAddrLValue(Loc, type); in EmitAutoVarInit() 1938 LValue lvalue, bool capturedByInit) { in EmitExprAsInit() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | genk-timing.py | 121 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))
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | genk-timing.py | 116 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))
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | genk-timing.py | 116 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))
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 74 struct LValue; 531 const LValue *This; 585 const FunctionDecl *Callee, const LValue *This, 620 ScopeKind Scope, LValue &LV); 623 APValue &createParam(CallRef Args, const ParmVarDecl *PVD, LValue &LV); 646 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII() 656 const LValue *OldThis; 674 const LValue &This, QualType ThisType); 1040 APValue *createHeapAlloc(const Expr *E, QualType T, LValue &LV); 1437 const FunctionDecl *Callee, const LValue *This, in CallStackFrame() [all …]
|
| H A D | APValue.cpp | 343 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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 117 SVal getPointeeOf(const CheckerContext &C, Loc LValue) { in getPointeeOf() argument 118 const QualType ArgTy = LValue.getType(C.getASTContext()); in getPointeeOf() 120 return C.getState()->getSVal(LValue); in getPointeeOf() 124 return C.getState()->getSVal(LValue, C.getASTContext().CharTy); in getPointeeOf() 129 if (auto LValue = Arg.getAs<Loc>()) in getPointeeOf() local 130 return getPointeeOf(C, *LValue); in getPointeeOf()
|
| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | TGParser.h | 70 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop() 71 : Loc(Loc), IterVar(IVar), ListValue(LValue) {} in ForeachLoop()
|