Lines Matching defs:GV
60 // If we didn't change the number of elements, don't create a new GV.
85 std::vector<Function*> parseGlobalCtors(GlobalVariable *GV) {
86 if (GV->getInitializer()->isNullValue())
88 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer());
101 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors");
102 if (!GV)
107 if (!GV->hasUniqueInitializer())
110 if (isa<ConstantAggregateZero>(GV->getInitializer()))
111 return GV;
112 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer());
131 return GV;