Lines Matching refs:Init
309 // the init priority, which we ignore.
953 void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) {
955 DEBUG(Init->dump());
956 if (isa<UndefValue>(Init))
959 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) {
967 if (isa<ConstantAggregateZero>(Init)) {
968 memset(Addr, 0, (size_t)getTargetData()->getTypeAllocSize(Init->getType()));
972 if (const ConstantArray *CPA = dyn_cast<ConstantArray>(Init)) {
980 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) {
989 dyn_cast<ConstantDataSequential>(Init)) {
996 if (Init->getType()->isFirstClassType()) {
997 GenericValue Val = getConstantValue(Init);
998 StoreValueToMemory(Val, (GenericValue*)Addr, Init->getType());
1002 DEBUG(dbgs() << "Bad Type: " << *Init->getType() << "\n");