OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GVar
(Results
1 - 15
of
15
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCTargetObjectFile.cpp
41
const auto *
GVar
= dyn_cast<GlobalVariable>(GO);
43
if (
GVar
&&
GVar
->isConstant() &&
44
GVar
->getInitializer()->needsDynamicRelocation())
/src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFMISimplifyPatchable.cpp
285
auto *
GVar
= dyn_cast<GlobalVariable>(GVal);
286
if (!
GVar
)
291
if (
GVar
->hasAttribute(BPFCoreSharedInfo::AmaAttr))
293
else if (!
GVar
->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
BTFDebug.cpp
1004
const GlobalVariable *
GVar
, bool IsAma) {
1009
StringRef AccessPattern =
GVar
->getName();
1022
PatchImms[
GVar
] = std::make_pair(std::stoll(std::string(PatchImmStr)),
1028
PatchImms[
GVar
] = std::make_pair(RootId, FieldReloc.RelocKind);
1037
auto *
GVar
= dyn_cast<GlobalVariable>(GVal);
1038
if (!
GVar
) {
1044
if (!
GVar
->hasAttribute(BPFCoreSharedInfo::AmaAttr) &&
1045
!
GVar
->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
1051
MDNode *MDN =
GVar
->getMetadata(LLVMContext::MD_preserve_access_index);
1053
generatePatchImmReloc(ORSym, RootId,
GVar
,
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonTargetObjectFile.cpp
208
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(GO);
209
if (!
GVar
) {
217
if (
GVar
->hasSection()) {
218
bool IsSmall = isSmallDataSection(
GVar
->getSection());
220
<< ", has section: " <<
GVar
->getSection() << '\n');
230
if (
GVar
->isConstant()) {
235
bool IsLocal =
GVar
->hasLocalLinkage();
241
Type *GType =
GVar
->getValueType();
258
unsigned Size =
GVar
->getParent()->getDataLayout().getTypeAllocSize(GType);
398
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(GO)
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/
TargetLoweringObjectFile.cpp
216
const auto *
GVar
= cast<GlobalVariable>(GO);
219
if (
GVar
->isThreadLocal()) {
220
if (isSuitableForBSS(
GVar
) && !TM.Options.NoZerosInBSS) {
223
if (
GVar
->hasLocalLinkage()) {
232
if (
GVar
->hasCommonLinkage())
237
if (isSuitableForBSS(
GVar
) && !TM.Options.NoZerosInBSS) {
238
if (
GVar
->hasLocalLinkage())
240
else if (
GVar
->hasExternalLinkage())
247
if (
GVar
->isConstant()) {
251
const Constant *C =
GVar
->getInitializer()
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Object/
IRSymtab.cpp
276
auto *
GVar
= dyn_cast<GlobalVariable>(GV);
277
if (!
GVar
)
282
Uncommon().CommonAlign =
GVar
->getAlignment();
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPrintfRuntimeBinding.cpp
181
GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(ConstExpr->getOperand(0));
184
if (
GVar
&&
GVar
->hasInitializer()) {
185
auto *Init =
GVar
->getInitializer();
AMDGPUISelLowering.cpp
1291
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(GV);
1292
if (!
GVar
|| !
GVar
->hasInitializer())
1295
return !isa<UndefValue>(
GVar
->getInitializer());
/src/external/apache2/llvm/dist/llvm/lib/Linker/
IRMover.cpp
1119
if (auto *
GVar
= dyn_cast<GlobalVariable>(&Src)) {
1120
linkGlobalVariable(cast<GlobalVariable>(Dst), *
GVar
);
/src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsFastISel.cpp
416
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(GV);
417
bool IsThreadLocal =
GVar
&&
GVar
->isThreadLocal();
/src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp
960
const GlobalVariable *
GVar
= cast<GlobalVariable>(V);
961
if (
GVar
) {
962
if (
GVar
->hasInitializer())
986
void NVPTXAsmPrinter::printModuleLevelGV(const GlobalVariable *
GVar
,
990
if (
GVar
->hasSection()) {
991
if (
GVar
->getSection() == "llvm.metadata")
996
if (
GVar
->getName().startswith("llvm.") ||
997
GVar
->getName().startswith("nvvm."))
1003
PointerType *PTy =
GVar
->getType();
1004
Type *ETy =
GVar
->getValueType()
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
XCoreISelLowering.cpp
257
const auto *
GVar
= dyn_cast<GlobalVariable>(GV);
259
(
GVar
&&
GVar
->isConstant() && GV->hasLocalLinkage()))
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
WholeProgramDevirt.cpp
816
auto *
GVar
= dyn_cast<GlobalVarSummary>(S.get());
817
if (!
GVar
||
818
GVar
->getVCallVisibility() != GlobalObject::VCallVisibilityPublic ||
823
GVar
->setVCallVisibility(GlobalObject::VCallVisibilityLinkageUnit);
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMFastISel.cpp
537
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(GV);
538
bool IsThreadLocal =
GVar
&&
GVar
->isThreadLocal();
/src/external/apache2/llvm/dist/llvm/lib/IR/
Verifier.cpp
618
const GlobalVariable *
GVar
= dyn_cast<GlobalVariable>(&GV);
619
Assert(
GVar
&&
GVar
->getValueType()->isArrayTy(),
620
"Only global arrays can have appending linkage!",
GVar
);
Completed in 79 milliseconds
Indexes created Mon Jun 08 00:24:58 UTC 2026