Lines Matching refs:GlobalVariable
1 //===-- llvm/GlobalVariable.h - GlobalVariable class ------------*- C++ -*-===//
10 // This file contains the declaration of the GlobalVariable class, which
35 class GlobalVariable : public GlobalObject, public ilist_node<GlobalVariable> {
36 friend class SymbolTableListTraits<GlobalVariable, Module>;
38 void operator=(const GlobalVariable &) LLVM_DELETED_FUNCTION;
39 GlobalVariable(const GlobalVariable &) LLVM_DELETED_FUNCTION;
55 /// GlobalVariable ctor - If a parent module is specified, the global is
57 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
61 /// GlobalVariable ctor - This creates a global and inserts it before the
63 GlobalVariable(Module &M, Type *Ty, bool isConstant,
65 const Twine &Name = "", GlobalVariable *InsertBefore = nullptr,
69 ~GlobalVariable() {
155 /// create a GlobalVariable) from the GlobalVariable Src to this one.
179 struct OperandTraits<GlobalVariable> :
180 public OptionalOperandTraits<GlobalVariable> {
183 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalVariable, Value)