OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GV
(Results
1 - 25
of
155
) sorted by relevancy
1
2
3
4
5
6
7
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
StripDeadPrototypes.cpp
46
GlobalVariable *
GV
= &*I++;
48
if (
GV
->isDeclaration() &&
GV
->use_empty())
49
GV
->eraseFromParent();
GlobalSplit.cpp
41
static bool splitGlobal(GlobalVariable &
GV
) {
44
if (!
GV
.hasLocalLinkage())
48
auto *Init = dyn_cast_or_null<ConstantStruct>(
GV
.getInitializer());
56
for (User *U :
GV
.users()) {
69
GV
.getMetadata(LLVMContext::MD_type, Types);
71
const DataLayout &DL =
GV
.getParent()->getDataLayout();
74
IntegerType *Int32Ty = Type::getInt32Ty(
GV
.getContext());
80
new GlobalVariable(*
GV
.getParent(), Init->getOperand(I)->getType(),
81
GV
.isConstant(), GlobalValue::PrivateLinkage,
82
Init->getOperand(I),
GV
.getName() + "." + utostr(I))
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Object/
ModuleSymbolTable.cpp
63
for (GlobalValue &
GV
: M->global_values())
64
SymTab.push_back(&
GV
);
184
auto *
GV
= S.get<GlobalValue *>();
185
if (
GV
->hasDLLImportStorageClass())
188
Mang.getNameWithPrefix(OS,
GV
, false);
195
auto *
GV
= S.get<GlobalValue *>();
198
if (
GV
->isDeclarationForLinker())
200
else if (
GV
->hasHiddenVisibility() && !
GV
->hasLocalLinkage())
202
if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(
GV
)) {
[
all
...]
RecordStreamer.cpp
138
// Mapping from mangled name to
GV
.
141
// might not, so we first compute a mapping from mangled name to
GV
.
144
for (const GlobalValue &
GV
: M.global_values()) {
145
if (!
GV
.hasName())
148
MangledName.reserve(
GV
.getName().size() + 1);
149
Mang.getNameWithPrefix(MangledName, &
GV
, /*CannotUsePrivateLabel=*/false);
150
MangledNameMap[MangledName] = &
GV
;
189
const GlobalValue *
GV
= M.getNamedValue(Aliasee->getName());
190
if (!
GV
) {
193
GV
= MI->second
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUMachineFunction.cpp
42
const GlobalVariable &
GV
) {
43
auto Entry = LocalMemoryObjects.insert(std::make_pair(&
GV
, 0));
48
DL.getValueOrABITypeAlignment(
GV
.getAlign(),
GV
.getValueType());
56
StaticLDSSize += DL.getTypeAllocSize(
GV
.getValueType());
67
const GlobalVariable *
GV
= M->getNamedGlobal("llvm.amdgcn.module.lds");
68
if (
GV
) {
69
unsigned Offset = allocateLDSGlobal(M->getDataLayout(), *
GV
);
78
const GlobalVariable &
GV
) {
79
assert(DL.getTypeAllocSize(
GV
.getValueType()).isZero())
[
all
...]
AMDGPUOpenCLEnqueuedBlockLowering.cpp
116
auto *
GV
= new GlobalVariable(
123
LLVM_DEBUG(dbgs() << "runtime handle created: " << *
GV
<< '\n');
131
auto *NewPtr = ConstantExpr::getPointerCast(
GV
, BitCast->getType());
AMDGPULowerModuleLDSPass.cpp
55
GlobalVariable *
GV
= M.getNamedGlobal(Name);
56
if (!
GV
|| ToRemove.empty()) {
61
auto *CA = cast<ConstantArray>(
GV
->getInitializer());
74
GV
->eraseFromParent();
79
GV
=
82
GV
->setSection("llvm.metadata");
234
GlobalVariable *
GV
= LocalVars[I];
236
GV
->replaceAllUsesWith(
238
GV
->eraseFromParent();
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMInstrInfo.cpp
112
const GlobalValue *
GV
=
115
if (!Subtarget.isGVIndirectSymbol(
GV
)) {
126
.addGlobalAddress(
GV
, 0, ARMII::MO_NONLAZY);
/src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFCheckAndAdjustIR.cpp
83
auto *
GV
= dyn_cast<GlobalVariable>(PN->getIncomingValue(i));
84
if (!
GV
)
86
if (
GV
->hasAttribute(BPFCoreSharedInfo::AmaAttr) ||
87
GV
->hasAttribute(BPFCoreSharedInfo::TypeIdAttr))
110
auto *
GV
= dyn_cast<GlobalValue>(Call->getCalledOperand());
111
if (!
GV
)
113
if (!
GV
->getName().startswith("llvm.bpf.passthrough"))
BPFPreserveDIType.cpp
54
const auto *
GV
= dyn_cast<GlobalValue>(Call->getCalledOperand());
55
if (!
GV
)
58
if (
GV
->getName().startswith("llvm.bpf.btf.type.id")) {
105
GlobalVariable *
GV
= new GlobalVariable(
107
GV
->addAttribute(BPFCoreSharedInfo::TypeIdAttr);
108
GV
->setMetadata(LLVMContext::MD_preserve_access_index, MD);
112
new LoadInst(Type::getInt64Ty(BB->getContext()),
GV
, "", Call);
/src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZConstantPoolValue.h
33
const GlobalValue *
GV
;
37
SystemZConstantPoolValue(const GlobalValue *
GV
,
42
Create(const GlobalValue *
GV
, SystemZCP::SystemZCPModifier Modifier);
51
const GlobalValue *getGlobalValue() const { return
GV
; }
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
Instrumentation.cpp
66
GlobalVariable *
GV
=
70
GV
->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
71
GV
->setAlignment(Align(1)); // Strings may not be merged w/o setting
73
return
GV
;
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGVTT.cpp
122
llvm::GlobalVariable *
GV
= CGM.CreateOrReplaceCXXRuntimeVariable(
124
GV
->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
125
return
GV
;
ConstantInitBuilder.cpp
38
void ConstantInitFuture::installInGlobal(llvm::GlobalVariable *
GV
) {
41
GV
->setInitializer(Data.get<llvm::Constant*>());
45
builder.setGlobalInitializer(
GV
, builder.Buffer[0]);
73
auto
GV
= new llvm::GlobalVariable(CGM.getModule(),
82
GV
->setAlignment(alignment.getAsAlign());
83
resolveSelfReferences(
GV
);
84
return
GV
;
87
void ConstantInitBuilderBase::setGlobalInitializer(llvm::GlobalVariable *
GV
,
89
GV
->setInitializer(initializer);
92
resolveSelfReferences(
GV
);
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleDebugInfoPrinter.cpp
99
const auto *
GV
= GVU->getVariable();
100
O << "Global variable: " <<
GV
->getName();
101
printFile(O,
GV
->getFilename(),
GV
->getDirectory(),
GV
->getLine());
102
if (!
GV
->getLinkageName().empty())
103
O << " ('" <<
GV
->getLinkageName() << "')";
LoopUnrollAnalyzer.cpp
108
auto *
GV
= dyn_cast<GlobalVariable>(AddressIt->second.Base);
111
if (!
GV
|| !
GV
->hasDefinitiveInitializer() || !
GV
->isConstant())
115
dyn_cast<ConstantDataSequential>(
GV
->getInitializer());
/src/external/apache2/llvm/dist/llvm/lib/IR/
Module.cpp
208
GlobalVariable *
GV
= dyn_cast_or_null<GlobalVariable>(getNamedValue(Name));
209
if (!
GV
)
210
GV
= CreateGlobalCallback();
211
assert(
GV
&& "The CreateGlobalCallback is expected to create a global");
215
Type *GVTy =
GV
->getType();
218
return ConstantExpr::getBitCast(
GV
, PTy);
221
return
GV
;
438
Error Module::materialize(GlobalValue *
GV
) {
442
return Materializer->materialize(
GV
);
537
for (GlobalVariable &
GV
: globals()
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp
98
GlobalVariable *
GV
= nullptr;
197
void insertDefinitions(Function &F, GlobalVariable &
GV
,
487
if (PC.
GV
)
489
PC.
GV
= new GlobalVariable(
492
PC.
GV
->setInitializer(&C);
494
LLVM_DEBUG(PC.
GV
->print(dbgs()));
551
insertDefinitions(F, *Promotion.
GV
, InsertPts);
AArch64MCInstLower.cpp
38
const GlobalValue *
GV
= MO.getGlobal();
42
return Printer.getSymbolPreferLocal(*
GV
);
49
return Printer.getSymbol(
GV
);
56
Printer.TM.getNameWithPrefix(Name,
GV
,
68
StubSym = MachineModuleInfoImpl::StubValueTy(Printer.getSymbol(
GV
), true);
91
llvm_unreachable("Unexpected target flags with MO_GOT on
GV
operand");
99
llvm_unreachable("Unexpected target flags with MO_TLS on
GV
operand");
123
const GlobalValue *
GV
= MO.getGlobal();
124
Model = Printer.TM.getTLSModel(
GV
);
/src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
M68kMCInstLower.cpp
57
const GlobalValue *
GV
= MO.getGlobal();
58
AsmPrinter.getNameWithPrefix(Name,
GV
);
82
llvm_unreachable("Unknown target flag on
GV
operand");
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CtorUtils.cpp
40
// If we didn't change the number of elements, don't create a new
GV
.
65
static std::vector<Function *> parseGlobalCtors(GlobalVariable *
GV
) {
66
if (
GV
->getInitializer()->isNullValue())
68
ConstantArray *CA = cast<ConstantArray>(
GV
->getInitializer());
81
GlobalVariable *
GV
= M.getGlobalVariable("llvm.global_ctors");
82
if (!
GV
)
87
if (!
GV
->hasUniqueInitializer())
90
if (isa<ConstantAggregateZero>(
GV
->getInitializer()))
91
return
GV
;
92
ConstantArray *CA = cast<ConstantArray>(
GV
->getInitializer())
[
all
...]
/src/external/apache2/llvm/dist/llvm/examples/Fibonacci/
fibonacci.cpp
142
GenericValue
GV
= EE->runFunction(FibF, Args);
145
outs() << "Result: " <<
GV
.IntVal << "\n";
/src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
Mangling.cpp
48
auto *
GV
= cast<GlobalVariable>(G);
50
auto Flags = JITSymbolFlags::fromGlobalValue(*
GV
);
52
auto EmuTLSV = Mangle(("__emutls_v." +
GV
->getName()).str());
55
(*SymbolToDefinition)[EmuTLSV] =
GV
;
57
// If this
GV
has a non-zero initializer we'll need to emit an
59
if (
GV
->hasInitializer()) {
60
const auto *InitVal =
GV
->getInitializer();
69
auto EmuTLST = Mangle(("__emutls_t." +
GV
->getName()).str());
72
(*SymbolToDefinition)[EmuTLST] =
GV
;
/src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCMCInstLower.cpp
44
const GlobalValue *
GV
= MO.getGlobal();
45
TM.getNameWithPrefix(Name,
GV
, Mang);
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
PseudoSourceValue.h
128
const GlobalValue *
GV
;
131
GlobalValuePseudoSourceValue(const GlobalValue *
GV
,
138
const GlobalValue *getValue() const { return
GV
; }
190
const PseudoSourceValue *getGlobalValueCallEntry(const GlobalValue *
GV
);
Completed in 75 milliseconds
1
2
3
4
5
6
7
Indexes created Fri Aug 07 00:26:27 UTC 2026