Searched refs:BVar (Results 1 – 2 of 2) sorted by relevance
894 auto BVar = static_cast<SPIRVVariable *>(BM->addVariable( in transValueWithoutDecoration() local903 mapValue(V, BVar); in transValueWithoutDecoration()906 return BVar; in transValueWithoutDecoration()907 BVar->setBuiltin(Builtin); in transValueWithoutDecoration()908 return BVar; in transValueWithoutDecoration()
1432 auto BVar = static_cast<SPIRVVariable *>(BV); in transValueWithoutDecoration() local1433 auto Ty = transType(BVar->getType()->getPointerElementType()); in transValueWithoutDecoration()1434 bool IsConst = BVar->isConstant(); in transValueWithoutDecoration()1435 llvm::GlobalValue::LinkageTypes LinkageTy = transLinkageType(BVar); in transValueWithoutDecoration()1437 SPIRVValue *Init = BVar->getInitializer(); in transValueWithoutDecoration()1444 SPIRVStorageClassKind BS = BVar->getStorageClass(); in transValueWithoutDecoration()1457 if (BVar->isBuiltin(&BVKind)) in transValueWithoutDecoration()