File tree Expand file tree Collapse file tree 12 files changed +24
-12
lines changed Expand file tree Collapse file tree 12 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 3636//  friendly IR form for further translation into SPIR-V
3737// 
3838// ===----------------------------------------------------------------------===//
39- #define  DEBUG_TYPE  " ocl-to-spv" 
4039
4140#include  " OCLToSPIRV.h" 
4241#include  " OCLTypeToSPIRV.h" 
5554#include  < regex> 
5655#include  < set> 
5756
57+ #define  DEBUG_TYPE  " ocl-to-spv" 
58+ 
5859using  namespace  llvm ; 
5960using  namespace  PatternMatch ; 
6061using  namespace  SPIRV ; 
Original file line number Diff line number Diff line change 3838//  propagates the mapping to the uses of the kernel arguments.
3939// 
4040// ===----------------------------------------------------------------------===//
41- #define  DEBUG_TYPE  " cltytospv" 
4241
4342#include  " OCLTypeToSPIRV.h" 
4443#include  " OCLUtil.h" 
5049#include  < iterator> 
5150#include  < set> 
5251
52+ #define  DEBUG_TYPE  " cltytospv" 
53+ 
5354using  namespace  llvm ; 
5455using  namespace  SPIRV ; 
5556using  namespace  OCLUtil ; 
Original file line number Diff line number Diff line change 3535//  This file implements OCL utility functions.
3636// 
3737// ===----------------------------------------------------------------------===//
38- #define  DEBUG_TYPE  " oclutil" 
3938
4039#include  " OCLUtil.h" 
4140#include  " SPIRVEntry.h" 
5049#include  " llvm/Support/CommandLine.h" 
5150#include  " llvm/Support/Debug.h" 
5251
52+ #define  DEBUG_TYPE  " oclutil" 
53+ 
5354using  namespace  llvm ; 
5455using  namespace  SPIRV ; 
5556
Original file line number Diff line number Diff line change 3636//  further translation to SPIR-V.
3737// 
3838// ===----------------------------------------------------------------------===//
39- #define  DEBUG_TYPE  " clmdtospv" 
4039
4140#include  " PreprocessMetadata.h" 
4241#include  " OCLUtil.h" 
5150#include  " llvm/Support/CommandLine.h" 
5251#include  " llvm/TargetParser/Triple.h" 
5352
53+ #define  DEBUG_TYPE  " clmdtospv" 
54+ 
5455using  namespace  llvm ; 
5556using  namespace  SPIRV ; 
5657using  namespace  OCLUtil ; 
Original file line number Diff line number Diff line change 3535//  This file implements lowering instructions with bool operands.
3636// 
3737// ===----------------------------------------------------------------------===//
38- #define  DEBUG_TYPE  " spvbool" 
3938
4039#include  " SPIRVLowerBool.h" 
4140#include  " SPIRVInternal.h" 
4241#include  " libSPIRV/SPIRVDebug.h" 
4342
4443#include  " llvm/IR/IRBuilder.h" 
4544
45+ #define  DEBUG_TYPE  " spvbool" 
46+ 
4647using  namespace  llvm ; 
4748using  namespace  SPIRV ; 
4849
Original file line number Diff line number Diff line change 3535//  This file implements regularization of LLVM module for SPIR-V.
3636// 
3737// ===----------------------------------------------------------------------===//
38- #define  DEBUG_TYPE  " spv-lower-const-expr" 
3938
4039#include  " SPIRVLowerConstExpr.h" 
4140#include  " OCLUtil.h" 
5655#include  < list> 
5756#include  < set> 
5857
58+ #define  DEBUG_TYPE  " spv-lower-const-expr" 
59+ 
5960using  namespace  llvm ; 
6061using  namespace  SPIRV ; 
6162using  namespace  OCLUtil ; 
Original file line number Diff line number Diff line change 2727//  into basic LLVM operations.
2828// 
2929// ===----------------------------------------------------------------------===//
30- #define  DEBUG_TYPE  " spv-lower-llvm_intrinsic" 
3130
3231#include  " SPIRVLowerLLVMIntrinsic.h" 
3332#include  " LLVMBitreverse.h" 
4443#include  " llvm/Linker/Linker.h" 
4544#include  " llvm/Support/SourceMgr.h" 
4645
46+ #define  DEBUG_TYPE  " spv-lower-llvm_intrinsic" 
47+ 
4748using  namespace  llvm ; 
4849using  namespace  SPIRV ; 
4950
Original file line number Diff line number Diff line change 3535//  This file implements lowering llvm.memmove into several llvm.memcpys.
3636// 
3737// ===----------------------------------------------------------------------===//
38- #define  DEBUG_TYPE  " spvmemmove" 
3938
4039#include  " SPIRVLowerMemmove.h" 
4140#include  " SPIRVInternal.h" 
4544#include  " llvm/IR/IRBuilder.h" 
4645#include  " llvm/Transforms/Utils/LowerMemIntrinsics.h" 
4746
47+ #define  DEBUG_TYPE  " spvmemmove" 
48+ 
4849using  namespace  llvm ; 
4950using  namespace  SPIRV ; 
5051
Original file line number Diff line number Diff line change 5353//  with null pointers.
5454// 
5555// ===----------------------------------------------------------------------===//
56- #define  DEBUG_TYPE  " spv-lower-ocl-blocks" 
5756
5857#include  " SPIRVLowerOCLBlocks.h" 
5958#include  " SPIRVInternal.h" 
6362#include  " llvm/Pass.h" 
6463#include  " llvm/Support/Regex.h" 
6564
65+ #define  DEBUG_TYPE  " spv-lower-ocl-blocks" 
66+ 
6667using  namespace  llvm ; 
6768
6869namespace  {
Original file line number Diff line number Diff line change 3535//  This file implements regularization of LLVM module for SPIR-V.
3636// 
3737// ===----------------------------------------------------------------------===//
38- #define  DEBUG_TYPE  " spvregular" 
3938
4039#include  " SPIRVRegularizeLLVM.h" 
4140#include  " OCLUtil.h" 
5453#include  < set> 
5554#include  < vector> 
5655
56+ #define  DEBUG_TYPE  " spvregular" 
57+ 
5758using  namespace  llvm ; 
5859using  namespace  SPIRV ; 
5960using  namespace  OCLUtil ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments