Lines Matching refs:CGM
37 if (llvm::Type *TransTy = CGM.getTargetCodeGenInfo().getOpenCLType(CGM, T)) in convertOpenCLSpecificType()
47 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in getPointerType()
48 CGM.getContext().getOpenCLTypeAddrSpace(T)); in getPointerType()
49 return llvm::PointerType::get(CGM.getLLVMContext(), AddrSpc); in getPointerType()
53 if (llvm::Type *PipeTy = CGM.getTargetCodeGenInfo().getOpenCLType(CGM, T)) in getPipeType()
73 if (llvm::Type *TransTy = CGM.getTargetCodeGenInfo().getOpenCLType( in getSamplerType()
74 CGM, CGM.getContext().OCLSamplerTy.getTypePtr())) in getSamplerType()
84 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemSize()
85 unsigned TypeSize = CGM.getContext() in getPipeElemSize()
94 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemAlign()
95 unsigned TypeSize = CGM.getContext() in getPipeElemAlign()
102 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
104 CGM.getLLVMContext(), in getGenericVoidPointerType()
105 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()