reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
887 IRBuilder<> Builder(Variadic); 888 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); 890 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); 891 gep_type_iterator GTI = gep_type_begin(*Variadic); 895 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { 897 Value *Idx = Variadic->getOperand(I); 925 ResultPtr = Builder.CreateIntToPtr(ResultPtr, Variadic->getType()); 926 Variadic->replaceAllUsesWith(ResultPtr); 927 Variadic->eraseFromParent();