Lines Matching refs:Init
40 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray() local
41 unsigned n = Init->getNumOperands(); in appendToGlobalArray()
44 CurrentCtors.push_back(cast<Constant>(Init->getOperand(i))); in appendToGlobalArray()
83 SmallSetVector<Constant *, 16> &Init) { in collectUsedGlobals() argument
89 Init.insert(cast<Constant>(Op)); in collectUsedGlobals()
95 SmallSetVector<Constant *, 16> Init; in appendToUsedList() local
96 collectUsedGlobals(GV, Init); in appendToUsedList()
102 Init.insert(ConstantExpr::getPointerBitCastOrAddrSpaceCast(V, ArrayEltTy)); in appendToUsedList()
104 if (Init.empty()) in appendToUsedList()
107 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList()
109 ConstantArray::get(ATy, Init.getArrayRef()), in appendToUsedList()
128 SmallSetVector<Constant *, 16> Init; in removeFromUsedList() local
129 collectUsedGlobals(GV, Init); in removeFromUsedList()
134 for (Constant *MaybeRemoved : Init) { in removeFromUsedList()