reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
815 IRBuilder<> Builder(Variadic); 816 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); 819 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); 820 Value *ResultPtr = Variadic->getOperand(0); 821 Loop *L = LI->getLoopFor(Variadic->getParent()); 831 gep_type_iterator GTI = gep_type_begin(*Variadic); 834 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { 836 Value *Idx = Variadic->getOperand(I); 877 if (ResultPtr->getType() != Variadic->getType()) 878 ResultPtr = Builder.CreateBitCast(ResultPtr, Variadic->getType()); 880 Variadic->replaceAllUsesWith(ResultPtr); 881 Variadic->eraseFromParent();