reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
155 Function *Func = Arg->getParent(); 157 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); 163 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); 167 AllocA->setAlignment(MaybeAlign(Func->getParamAlignment(Arg->getArgNo()))); 168 Arg->replaceAllUsesWith(AllocA); 171 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), 171 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), 174 new LoadInst(StructType, ArgInParam, Arg->getName(), FirstInst);