Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CGM

27 CGOpenMPRuntime::CGOpenMPRuntime(CodeGenModule &CGM)
28 : CGM(CGM), DefaultOpenMPPSource(nullptr) {
30 "ident_t", CGM.Int32Ty /* reserved_1 */, CGM.Int32Ty /* flags */,
31 CGM.Int32Ty /* reserved_2 */, CGM.Int32Ty /* reserved_3 */,
32 CGM.Int8PtrTy /* psource */, NULL);
34 llvm::Type *MicroParams[] = {llvm::PointerType::getUnqual(CGM.Int32Ty),
35 llvm::PointerType::getUnqual(CGM.Int32Ty)};
36 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true);
49 CGM.GetAddrOfConstantCString(";unknown;unknown;0;0;;");
51 llvm::ConstantExpr::getBitCast(DefaultOpenMPPSource, CGM.Int8PtrTy);
54 CGM.CreateRuntimeVariable(IdentTy, ".kmpc_default_loc.addr"));
59 llvm::Constant *Zero = llvm::ConstantInt::get(CGM.Int32Ty, 0, true);
61 llvm::ConstantInt::get(CGM.Int32Ty, Flags),
73 if (CGM.getCodeGenOpts().getDebugInfo() == CodeGenOptions::NoDebugInfo ||
86 AI->setAlignment(CGM.getDataLayout().getPrefTypeAlignment(IdentTy));
94 CGM.PointerAlignInBytes);
165 llvm::Type *TypeParams[] = {getIdentTyPointerTy(), CGM.Int32Ty,
168 llvm::FunctionType::get(CGM.VoidTy, TypeParams, true);
169 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_fork_call");
176 llvm::FunctionType::get(CGM.Int32Ty, TypeParams, false);
177 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_global_thread_num");