• Home
  • Raw
  • Download

Lines Matching refs:Emitter

548   ConstantEmitter &Emitter;  member in __anonf29f2d880111::ConstStructBuilder
553 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
555 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
557 static bool UpdateStruct(ConstantEmitter &Emitter,
562 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() argument
564 : CGM(Emitter.CGM), Emitter(Emitter), Builder(Builder), in ConstStructBuilder()
622 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() argument
627 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater); in EmitDesignatedInitUpdater()
629 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
633 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
639 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType); in EmitDesignatedInitUpdater()
658 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
664 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType); in EmitDesignatedInitUpdater()
715 if (!EmitDesignatedInitUpdater(Emitter, Builder, StartOffset + Offset, in Build()
727 Init ? Emitter.tryEmitPrivateForMemory(Init, Field->getType()) in Build()
728 : Emitter.emitNullForMemory(Field->getType()); in Build()
829 Emitter.tryEmitPrivateForMemory(FieldValue, Field->getType()); in Build()
859 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() argument
862 ConstantAggregateBuilder Const(Emitter.CGM); in BuildStruct()
863 ConstStructBuilder Builder(Emitter, Const, CharUnits::Zero()); in BuildStruct()
871 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() argument
874 ConstantAggregateBuilder Const(Emitter.CGM); in BuildStruct()
875 ConstStructBuilder Builder(Emitter, Const, CharUnits::Zero()); in BuildStruct()
885 bool ConstStructBuilder::UpdateStruct(ConstantEmitter &Emitter, in UpdateStruct() argument
888 return ConstStructBuilder(Emitter, Const, Offset) in UpdateStruct()
998 ConstantEmitter &Emitter; member in __anonf29f2d880111::ConstExprEmitter
1002 : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) { in ConstExprEmitter()
1014 if (llvm::Constant *Result = Emitter.tryEmitConstantExpr(CE)) in VisitConstantExpr()
1044 CGM.EmitExplicitCastExprType(ECE, Emitter.CGF); in VisitCastExpr()
1055 auto C = Emitter.tryEmitPrivateForMemory(subExpr, field->getType()); in VisitCastExpr()
1085 auto C = Emitter.tryEmitPrivate(subExpr, subExpr->getType()); in VisitCastExpr()
1112 auto C = Emitter.tryEmitPrivate(subExpr, subExpr->getType()); in VisitCastExpr()
1208 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization()
1223 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
1240 return ConstStructBuilder::BuildStruct(Emitter, ILE, T); in EmitRecordInitialization()
1270 if (!EmitDesignatedInitUpdater(Emitter, Const, CharUnits::Zero(), destType, in VisitDesignatedInitUpdateExpr()
1757 ConstantEmitter &Emitter; member in __anonf29f2d880a11::ConstantLValueEmitter
1767 : CGM(emitter.CGM), Emitter(emitter), Value(value), DestType(destType) {} in ConstantLValueEmitter()
1931 if (llvm::Constant *Result = Emitter.tryEmitConstantExpr(E)) in VisitConstantExpr()
1938 return tryEmitGlobalCompoundLiteral(CGM, Emitter.CGF, E); in VisitCompoundLiteralExpr()
1978 assert(Emitter.CGF && "Invalid address of label expression outside function"); in VisitAddrLabelExpr()
1979 llvm::Constant *Ptr = Emitter.CGF->GetAddrOfLabel(E->getLabel()); in VisitAddrLabelExpr()
2004 if (auto CGF = Emitter.CGF) in VisitBlockExpr()