Home
last modified time | relevance | path

Searched refs:GlobalDtors (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DProfilingUtils.cpp151 if (GlobalVariable *GlobalDtors = Mod->getNamedGlobal("llvm.global_dtors")) { in InsertProfilingShutdownCall() local
153 dyn_cast<ConstantArray>(GlobalDtors->getInitializer())) { in InsertProfilingShutdownCall()
158 GlobalDtors->eraseFromParent(); in InsertProfilingShutdownCall()
162 GlobalVariable *GlobalDtors = new GlobalVariable( in InsertProfilingShutdownCall() local
167 GlobalDtors->setInitializer(ConstantArray::get( in InsertProfilingShutdownCall()
168 cast<ArrayType>(GlobalDtors->getType()->getElementType()), dtors)); in InsertProfilingShutdownCall()
/external/clang/lib/CodeGen/
DCodeGenModule.h355 CtorList GlobalDtors; variable
637 CtorList &getGlobalDtors() { return GlobalDtors; } in getGlobalDtors()
DCodeGenModule.cpp401 EmitCtorList(GlobalDtors, "llvm.global_dtors"); in Release()
720 GlobalDtors.push_back(Structor(Priority, Dtor, nullptr)); in AddGlobalDtor()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp1602 GlobalCtors, GlobalDtors, enumerator
1614 return GlobalDtors; in getGlobalVariableClass()
1684 case GlobalDtors: in doInitialization()