Searched defs:GV (Results 1 - 6 of 6) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSGlobalInfoPass.cpp74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { argument
75 auto GlobalType = GV.getType()->getPointerElementType();
86 if (GV.isConstant()) {
90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) {
135 for (auto &GV : M.globals()) {
137 if (mSkipConstants && GV.isConstant()) {
143 GVAddresses.push_back(llvm::ConstantExpr::getBitCast(&GV, VoidPtrTy));
144 GVNameStrings.push_back(GV.getName());
149 auto GlobalType = GV.getType()->getPointerElementType();
157 GVProperties.push_back(getEncodedProperties(GV));
[all...]
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp343 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
344 switch (GV.getLinkage()) {
371 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
372 switch (GV.getVisibility()) {
402 for (const GlobalValue &GV : M->globals()) {
403 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
404 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
405 if (GV.hasSection()) {
407 unsigned &Entry = SectionMap[GV.getSection()];
409 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp342 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
343 switch (GV.getLinkage()) {
370 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
371 switch (GV.getVisibility()) {
401 for (const GlobalValue &GV : M->globals()) {
402 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
403 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
404 if (GV.hasSection()) {
406 unsigned &Entry = SectionMap[GV.getSection()];
408 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp263 bool isDematerializable(const GlobalValue *GV) const override;
264 std::error_code materialize(GlobalValue *GV) override;
267 void Dematerialize(GlobalValue *GV) override;
2003 GlobalVariable *GV = GI++; local
2004 UpgradeGlobalVariable(GV);
3311 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument
3315 Function *F = dyn_cast<Function>(GV);
3345 bool BitcodeReader::isDematerializable(const GlobalValue *GV) const {
3346 const Function *F = dyn_cast<Function>(GV);
3352 void BitcodeReader::Dematerialize(GlobalValue *GV) { argument
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp344 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
345 switch (GV.getLinkage()) {
372 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
373 switch (GV.getVisibility()) {
381 static unsigned getEncodedThreadLocalMode(const GlobalVariable &GV) { argument
382 switch (GV.getThreadLocalMode()) {
414 for (const GlobalValue &GV : M->globals()) {
415 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
416 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
417 if (GV
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp102 GlobalVariable *GV = cast<GlobalVariable>(Val); local
103 LPI->addClause(GV->getInitializer());
133 GlobalVariable *GV = cast<GlobalVariable>(Val); local
134 LPI->addClause(GV->getInitializer());
501 bool isDematerializable(const GlobalValue *GV) const override;
502 std::error_code materialize(GlobalValue *GV) override;
505 void Dematerialize(GlobalValue *GV) override;
2297 GlobalVariable *GV = GI++; local
2298 UpgradeGlobalVariable(GV);
3646 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument
3687 Dematerialize(GlobalValue *GV) argument
[all...]

Completed in 248 milliseconds