Lines Matching refs:Init
39 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray() local
40 unsigned n = Init->getNumOperands(); in appendToGlobalArray()
43 CurrentCtors.push_back(cast<Constant>(Init->getOperand(i))); in appendToGlobalArray()
82 SmallSetVector<Constant *, 16> &Init) { in collectUsedGlobals() argument
88 Init.insert(cast<Constant>(Op)); in collectUsedGlobals()
94 SmallSetVector<Constant *, 16> Init; in appendToUsedList() local
95 collectUsedGlobals(GV, Init); in appendToUsedList()
101 Init.insert(ConstantExpr::getPointerBitCastOrAddrSpaceCast(V, ArrayEltTy)); in appendToUsedList()
103 if (Init.empty()) in appendToUsedList()
106 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList()
108 ConstantArray::get(ATy, Init.getArrayRef()), in appendToUsedList()
127 SmallSetVector<Constant *, 16> Init; in removeFromUsedList() local
128 collectUsedGlobals(GV, Init); in removeFromUsedList()
133 for (Constant *MaybeRemoved : Init) { in removeFromUsedList()