Home
last modified time | relevance | path

Searched refs:GV (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSGlobalInfoPass.cpp74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { in getEncodedProperties() argument
75 auto GlobalType = GV.getType()->getPointerElementType(); in getEncodedProperties()
86 if (GV.isConstant()) { in getEncodedProperties()
90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) { in getEncodedProperties()
135 for (auto &GV : M.globals()) { in runOnModule() local
137 if (mSkipConstants && GV.isConstant()) { in runOnModule()
142 if (GV.getName().startswith("llvm.")) { in runOnModule()
148 GVAddresses.push_back(llvm::ConstantExpr::getBitCast(&GV, VoidPtrTy)); in runOnModule()
149 GVNameStrings.push_back(GV.getName()); in runOnModule()
154 auto GlobalType = GV.getType()->getPointerElementType(); in runOnModule()
[all …]
DRSAddDebugInfoPass.cpp135 for (llvm::DIGlobalVariable* GV : CU->getGlobalVariables()) { in initializeDebugInfo()
136 if (GV->getDisplayName() == DEBUG_PROTOTYPE_VAR_NAME) { in initializeDebugInfo()
137 kernelPrototypeVarMD = GV; in initializeDebugInfo()
DCompiler.cpp449 auto IsExportedSymbol = [=](const llvm::GlobalValue &GV) { in addInternalizeSymbolsPass() argument
450 return export_symbols.count(GV.getName()) > 0; in addInternalizeSymbolsPass()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp344 static unsigned getEncodedLinkage(const GlobalValue &GV) { in getEncodedLinkage() argument
345 switch (GV.getLinkage()) { in getEncodedLinkage()
372 static unsigned getEncodedVisibility(const GlobalValue &GV) { in getEncodedVisibility() argument
373 switch (GV.getVisibility()) { in getEncodedVisibility()
381 static unsigned getEncodedThreadLocalMode(const GlobalVariable &GV) { in getEncodedThreadLocalMode() argument
382 switch (GV.getThreadLocalMode()) { in getEncodedThreadLocalMode()
414 for (const GlobalValue &GV : M->globals()) { in WriteModuleInfo() local
415 MaxAlignment = std::max(MaxAlignment, GV.getAlignment()); in WriteModuleInfo()
416 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType())); in WriteModuleInfo()
417 if (GV.hasSection()) { in WriteModuleInfo()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp344 static unsigned getEncodedLinkage(const GlobalValue &GV) { in getEncodedLinkage() argument
345 switch (GV.getLinkage()) { in getEncodedLinkage()
372 static unsigned getEncodedVisibility(const GlobalValue &GV) { in getEncodedVisibility() argument
373 switch (GV.getVisibility()) { in getEncodedVisibility()
403 for (const GlobalValue &GV : M->globals()) { in WriteModuleInfo() local
404 MaxAlignment = std::max(MaxAlignment, GV.getAlignment()); in WriteModuleInfo()
405 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType())); in WriteModuleInfo()
406 if (GV.hasSection()) { in WriteModuleInfo()
408 unsigned &Entry = SectionMap[GV.getSection()]; in WriteModuleInfo()
410 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV.getSection(), in WriteModuleInfo()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp342 static unsigned getEncodedLinkage(const GlobalValue &GV) { in getEncodedLinkage() argument
343 switch (GV.getLinkage()) { in getEncodedLinkage()
370 static unsigned getEncodedVisibility(const GlobalValue &GV) { in getEncodedVisibility() argument
371 switch (GV.getVisibility()) { in getEncodedVisibility()
401 for (const GlobalValue &GV : M->globals()) { in WriteModuleInfo() local
402 MaxAlignment = std::max(MaxAlignment, GV.getAlignment()); in WriteModuleInfo()
403 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType())); in WriteModuleInfo()
404 if (GV.hasSection()) { in WriteModuleInfo()
406 unsigned &Entry = SectionMap[GV.getSection()]; in WriteModuleInfo()
408 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV.getSection(), in WriteModuleInfo()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp102 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst() local
103 LPI->addClause(GV->getInitializer()); in TransferClausesToLandingPadInst()
133 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst() local
134 LPI->addClause(GV->getInitializer()); in TransferClausesToLandingPadInst()
500 bool isDematerializable(const GlobalValue *GV) const;
501 std::error_code materialize(GlobalValue *GV) override;
504 void dematerialize(GlobalValue *GV);
2308 GlobalVariable *GV = &*GI; in GlobalCleanup() local
2309 UpgradeGlobalVariable(GV); in GlobalCleanup()
3658 std::error_code BitcodeReader::materialize(GlobalValue *GV) { in materialize() argument
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp263 bool isDematerializable(const GlobalValue *GV) const;
264 std::error_code materialize(GlobalValue *GV) override;
267 void dematerialize(GlobalValue *GV);
2015 GlobalVariable *GV = &*GI; in GlobalCleanup() local
2016 UpgradeGlobalVariable(&*GV); in GlobalCleanup()
3319 std::error_code BitcodeReader::materialize(GlobalValue *GV) { in materialize() argument
3323 Function *F = dyn_cast<Function>(GV); in materialize()
3353 bool BitcodeReader::isDematerializable(const GlobalValue *GV) const { in isDematerializable()
3354 const Function *F = dyn_cast<Function>(GV); in isDematerializable()
3360 void BitcodeReader::dematerialize(GlobalValue *GV) { in dematerialize() argument
[all …]
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password69 …�ɵB�z6̜��/+��ؐ]`=� �ކ�l5�,��|x���q�2&�@�"�CFs*>�y�V��]c��"�*�/h��7��GV�� �c�"�� ��C�/@��E…