Lines Matching defs:CGM
45 llvm::Function *GetOpenMPVprintfDeclaration(CodeGenModule &CGM) {
47 llvm::Module &M = CGM.getModule();
56 CGM.Error(SourceLocation(),
95 const llvm::DataLayout &DL = CGF->CGM.getDataLayout();
96 llvm::LLVMContext &Ctx = CGF->CGM.getLLVMContext();
137 CodeGenModule &CGM = CGF->CGM;
153 CGM.ErrorUnsupported(E, "non-scalar arg to printf");
166 llvm::ConstantInt::get(llvm::Type::getInt32Ty(CGM.getLLVMContext()),
178 E, this, GetVprintfDeclaration(CGM.getModule()), false);
199 CGM.ErrorUnsupported(E, "non-scalar arg to printf");
210 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal ==
220 return EmitDevicePrintfCallExpr(E, this, GetOpenMPVprintfDeclaration(CGM),