| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| SanitizerMetadata.h | 36 CodeGenModule &CGM; 38 SanitizerMetadata(CodeGenModule &CGM);
|
| CGObjCRuntime.h | 66 CodeGen::CodeGenModule &CGM; 67 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} 79 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 82 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 315 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM, 317 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM, 319 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, 325 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM, [all...] |
| CGOpenCLRuntime.h | 37 CodeGenModule &CGM; 55 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM),
|
| CGVTables.h | 33 CodeGenModule &CGM; 99 CodeGenVTables(CodeGenModule &CGM);
|
| CGCUDARuntime.h | 43 CodeGenModule &CGM; 76 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} 112 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
|
| CodeGenPGO.h | 29 CodeGenModule &CGM; 44 : CGM(CGModule), FuncNameVar(nullptr), NumValueSites({{0}}),
|
| ConstantEmitter.h | 25 CodeGenModule &CGM; 51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr) 52 : CGM(CGM), CGF(CGF) {} 58 : CGM(CGF.CGM), CGF(&CGF) {} 116 return emitNullForMemory(CGM, T); 119 return emitForMemory(CGM, C, T); 122 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T); 123 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C [all...] |
| CGCXX.cpp | 251 assert(!CGF.CGM.getTarget().getCXXABI().isMicrosoft() && 253 CodeGenModule &CGM = CGF.CGM; 254 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); 258 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD); 259 const VTableLayout &VTLayout = CGM.getItaniumVTableContext().getVTableLayout(RD); 303 const CGFunctionInfo &FInfo = CGM.getTypes().arrangeCXXStructorDeclaration( 305 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo);
|
| CodeGenTypes.h | 60 CodeGenModule &CGM; 61 // Some of this stuff should probably be left on the CGM. 110 CodeGenTypes(CodeGenModule &cgm);
|
| CoverageMappingGen.h | 91 CodeGenModule &CGM; 108 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo); 130 CodeGenModule &getCodeGenModule() { return CGM; }
|
| ModuleBuilder.cpp | 94 CodeGenModule &CGM() { 308 CodeGenModule &CodeGenerator::CGM() { 309 return static_cast<CodeGeneratorImpl*>(this)->CGM();
|
| CGCXXABI.h | 46 CodeGenModule &CGM; 49 CGCXXABI(CodeGenModule &CGM) 50 : CGM(CGM), MangleCtx(CGM.getContext().createMangleContext()) {} 81 ASTContext &getContext() const { return CGM.getContext(); } 610 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals, 640 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM); 643 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
|
| CGDebugInfo.h | 59 CodeGenModule &CGM; 368 CGDebugInfo(CodeGenModule &CGM);
|
| CGDeclCXX.cpp | 43 CodeGenModule &CGM = CGF.CGM; 45 CGM.getObjCRuntime().EmitObjCGlobalAssign(CGF, CGF.EmitScalarExpr(Init), 48 CGM.getObjCRuntime().EmitObjCWeakAssign(CGF, CGF.EmitScalarExpr(Init), 100 CodeGenModule &CGM = CGF.CGM; 109 Record && (!CGM.getCXXABI().HasThisReturn( 111 CGM.getCXXABI().canCallMismatchedFunctionType()); 115 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; 120 Func = CGM.getAddrAndTypeOfCXXStructor(GlobalDecl(Dtor, Dtor_Complete)) [all...] |
| CGCoroutine.cpp | 95 CGF.CGM.Error(CoroIdExpr->getBeginLoc(), 98 CGF.CGM.Error(CoroIdExpr->getBeginLoc(), 197 llvm::Function *CoroSave = CGF.CGM.getIntrinsic(llvm::Intrinsic::coro_save); 198 auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy); 213 CGF.CGM.getIntrinsic(llvm::Intrinsic::coro_suspend); 398 auto &CGM = CGF.CGM; 400 llvm::Function *CoroEndFn = CGM.getIntrinsic(llvm::Intrinsic::coro_end); 445 CGF.CGM.Error(Deallocate->getBeginLoc(), 545 auto &TI = CGM.getContext().getTargetInfo() [all...] |
| CGException.cpp | 33 static llvm::FunctionCallee getFreeExceptionFn(CodeGenModule &CGM) { 37 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*isVarArg=*/false); 39 return CGM.CreateRuntimeFunction(FTy, "__cxa_free_exception"); 42 static llvm::FunctionCallee getSehTryBeginFn(CodeGenModule &CGM) { 44 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); 45 return CGM.CreateRuntimeFunction(FTy, "llvm.seh.try.begin"); 48 static llvm::FunctionCallee getSehTryEndFn(CodeGenModule &CGM) { 50 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); 51 return CGM.CreateRuntimeFunction(FTy, "llvm.seh.try.end") [all...] |
| CGExprAgg.cpp | 280 CGF.CGM.getDataLayout().getTypeAllocSize(CGF.ConvertTypeForMem(RetTy)); 368 CGF.CGM.getObjCRuntime().EmitGCMemmoveCollectable(CGF, 499 CodeGen::CodeGenModule &CGM = CGF.CGM; 504 CGM.getModule(), C->getType(), 505 CGM.isTypeConstant(ArrayQTy, /* ExcludeCtorDtor= */ true), 508 CGM.getContext().getTargetAddressSpace(AS)); 510 CharUnits Align = CGM.getContext().getTypeAlignInChars(ArrayQTy); 696 CGF.CGM.EmitExplicitCastExprType(ECE, &CGF); 707 CGF.CGM.ErrorUnsupported(E, "non-simple lvalue dynamic_cast") [all...] |
| CGExprConstant.cpp | 43 CodeGenModule &CGM; 45 ConstantAggregateBuilderUtils(CodeGenModule &CGM) : CGM(CGM) {} 49 CGM.getDataLayout().getABITypeAlignment(C->getType())); 53 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeAllocSize(Ty)); 61 llvm::Type *Ty = CGM.CharTy; 68 llvm::Type *Ty = llvm::ArrayType::get(CGM.CharTy, ZeroSize.getQuantity()); 99 static llvm::Constant *buildFrom(CodeGenModule &CGM, 107 ConstantAggregateBuilder(CodeGenModule &CGM) [all...] |
| CGOpenMPRuntime.h | 230 CodeGenModule &CGM; 234 DisableAutoDeclareTargetRAII(CodeGenModule &CGM); 240 CodeGenModule &CGM; 244 NontemporalDeclsRAII(CodeGenModule &CGM, const OMPLoopDirective &S); 250 CodeGenModule &CGM; 281 CodeGenModule &CGM; 305 CodeGenModule &CGM; 312 explicit CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator, 501 CodeGenModule &CGM; 560 OffloadEntriesInfoManagerTy(CodeGenModule &CGM) : CGM(CGM) { [all...] |
| CGObjC.cpp | 51 CGM.getObjCRuntime().GenerateConstantString(E->getString()).getPointer(); 69 ConstantEmitter ConstEmitter(CGM); 79 CGObjCRuntime &Runtime = CGM.getObjCRuntime(); 101 llvm::Constant *GV = CGM.GetAddrOfConstantCString(Str).getPointer(); 122 ASTContext &Context = CGM.getContext(); 131 if (NumElements == 0 && CGM.getLangOpts().ObjCRuntime.hasEmptyCollections()) { 133 QualType IdTy(CGM.getContext().getObjCIdType()); 135 CGM.CreateRuntimeVariable(ConvertType(IdTy), ConstantName); 139 CGM.getModule().getMDKindID("invariant.load"), 163 CGM.getCodeGenOpts().OptimizationLevel != 0) [all...] |
| CGObjCGNU.cpp | 49 CodeGenModule *CGM; 59 : CGM(nullptr), FunctionName(nullptr), Function(nullptr) {} 66 CGM = Mod; 86 Function = CGM->CreateRuntimeFunction(FTy, FunctionName); 174 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; 180 return (StringRef(CGM.getTriple().isOSBinFormatCOFF() ? "$_" : "._") + Name).str(); 197 CGM.GetAddrOfConstantCString(std::string(Str), Name); 231 CGM.getContext().getObjCEncodingForPropertyDecl(PD, Container); 281 CGM.getContext().getCharWidth()); 294 ASTContext &Context = CGM.getContext() [all...] |
| CGStmtOpenMP.cpp | 316 return Builder.CreateNUWMul(Size, CGM.getSize(SizeInChars)); 318 return CGM.getSize(SizeInChars); 434 CodeGenModule &CGM = CGF.CGM; 435 ASTContext &Ctx = CGM.getContext(); 495 : CGM.getOpenMPRuntime().translateParameter(FD, Arg)); 507 CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, TargetArgs); 508 llvm::FunctionType *FuncLLVMTy = CGM.getTypes().GetFunctionType(FuncInfo); 512 FO.FunctionName, &CGM.getModule()); 513 CGM.SetInternalFunctionAttributes(CD, F, FuncInfo) [all...] |
| CodeGenFunction.h | 266 CodeGenModule &CGM; // Per-module state. 530 if (CGM.getCodeGenOpts().getFiniteLoops() == 549 if (CGM.getCodeGenOpts().getFiniteLoops() == 552 if (CGM.getCodeGenOpts().getFiniteLoops() == 1487 if (CGM.getCodeGenOpts().hasProfileClangInstr() && 1921 CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext=false); 1924 CodeGenTypes &getTypes() const { return CGM.getTypes(); } 1925 ASTContext &getContext() const { return CGM.getContext(); } 1935 return CGM.getCodeGenOpts().OptimizationLevel == 0; 1938 const LangOptions &getLangOpts() const { return CGM.getLangOpts(); [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
| SwiftCallingConv.h | 42 CodeGenModule &CGM; 57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} 123 bool shouldPassIndirectly(CodeGenModule &CGM, 128 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM); 131 CharUnits getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type); 135 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type); 139 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, 141 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize [all...] |
| ConstantInitBuilder.h | 37 /// ConstantInitBuilder builder(CGM); 39 /// toplevel.addInt(CGM.SizeTy, widgets.size()); 43 /// widgetDesc.addInt(CGM.SizeTy, widget.getPower()); 44 /// widgetDesc.add(CGM.GetAddrOfConstantString(widget.getName())); 45 /// widgetDesc.add(CGM.GetAddrOfGlobal(widget.getInitializerDecl())); 58 CodeGenModule &CGM; 69 explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {} 506 ConstantInitBuilderTemplateBase(CodeGenModule &CGM) [all...] |