Lines Matching refs:BM
186 :BM(TBM), M(TM), SpDbg(BM), Builder(*M){ in SPIRVToLLVMDbgTran()
187 Enable = BM->hasDebugInfo(); in SPIRVToLLVMDbgTran()
258 SPIRVModule *BM; member in SPIRV::SPIRVToLLVMDbgTran
283 :M(LLVMModule), BM(TheSPIRVModule), DbgTran(BM, M){ in SPIRVToLLVM()
403 SPIRVModule *BM; member in SPIRV::SPIRVToLLVM
469 return BM->getErrorLog(); in getErrorLog()
1002 BM->getSourceLanguage(&SrcLangVer); in postProcessOCL()
1270 .addU16(BM->getGeneratorId()) in transGeneratorMD()
1271 .addU16(BM->getGeneratorVer()) in transGeneratorMD()
1830 auto IsKernel = BM->isEntryPoint(ExecutionModelKernel, BF->getId()); in transFunction()
2082 for (unsigned I = 0, E = BM->getNumVariables(); I != E; ++I) { in translate()
2083 auto BV = BM->getVariable(I); in translate()
2088 for (unsigned I = 0, E = BM->getNumFunctions(); I != E; ++I) { in translate()
2089 transFunction(BM->getFunction(I)); in translate()
2111 switch (BM->getAddressingModel()) { in transAddressingModel()
2125 (unsigned)BM->getAddressingModel()); in transAddressingModel()
2141 for (unsigned I = 0, E = BM->getNumFunctions(); I != E; ++I) { in transFPContractMetadata()
2142 SPIRVFunction *BF = BM->getFunction(I); in transFPContractMetadata()
2171 for (unsigned I = 0, E = BM->getNumFunctions(); I != E; ++I) { in transKernelMetadata()
2172 SPIRVFunction *BF = BM->getFunction(I); in transKernelMetadata()
2322 auto T = BM->getValueType(BArgs[0]); in transOCLVectorLoadStore()
2348 SPIRVExtInstSetKind Set = BM->getBuiltinSet(BC->getExtSetId()); in transOCLBuiltinFromExtInst()
2414 BM->getSourceLanguage(&Ver); in transOCLBarrier()
2461 BM->getSourceLanguage(&Ver); in transOCLMemFence()
2548 SourceLanguage Lang = BM->getSourceLanguage(&Ver); in transSourceLanguage()
2573 auto ExtSet = rmap<OclExt::Kind>(BM->getExtension()); in transSourceExtension()
2574 auto CapSet = rmap<OclExt::Kind>(BM->getCapability()); in transSourceExtension()
2726 std::unique_ptr<SPIRVModule> BM(SPIRVModule::createSPIRVModule()); in ReadSPIRV() local
2728 IS >> *BM; in ReadSPIRV()
2730 SPIRVToLLVM BTL(M, BM.get()); in ReadSPIRV()
2733 BM->getError(ErrMsg); in ReadSPIRV()