Searched defs:GCL (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp30 void removeGlobalCtors(GlobalVariable *GCL, const BitVector &CtorsToRemove) { argument
32 ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer());
45 GCL->setInitializer(CA);
51 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(),
52 CA, "", GCL->getThreadLocalMode());
53 GCL->getParent()->getGlobalList().insert(GCL->getIterator(), NGV);
54 NGV->takeName(GCL);
57 if (!GCL
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp77 bool OptimizeGlobalCtorsList(GlobalVariable *&GCL);
1995 static GlobalVariable *InstallGlobalCtors(GlobalVariable *GCL, argument
1999 CSVals[0] = ConstantInt::get(Type::getInt32Ty(GCL->getContext()), 65535);
2004 cast<ArrayType>(GCL->getType()->getElementType())->getElementType());
2012 Type *FTy = FunctionType::get(Type::getVoidTy(GCL->getContext()),
2016 CSVals[0] = ConstantInt::get(Type::getInt32Ty(GCL->getContext()),
2027 if (CA->getType() == GCL->getInitializer()->getType()) {
2028 GCL->setInitializer(CA);
2029 return GCL;
2033 GlobalVariable *NGV = new GlobalVariable(CA->getType(), GCL
2608 OptimizeGlobalCtorsList(GlobalVariable *&GCL) argument
[all...]

Completed in 132 milliseconds