Lines Matching refs:UI
105 BasicBlock::iterator getEntryIns(CallInst * UI);
107 AllocaInst* insertAlloca(CallInst * UI, IRBuilder<> &B, const char *prefix);
1249 CallInst *UI = nullptr; in fold_sincos() local
1265 UI = XI; in fold_sincos()
1269 if (UI) break; in fold_sincos()
1272 if (!UI) in fold_sincos()
1286 AllocaInst *Alloc = insertAlloca(UI, B, "__sincos_"); in fold_sincos()
1287 B.SetInsertPoint(UI); in fold_sincos()
1296 CallInst *Call = CreateCallEx2(B, Fsincos, UI->getArgOperand(0), P); in fold_sincos()
1298 LLVM_DEBUG(errs() << "AMDIC: fold_sincos (" << *CI << ", " << *UI << ") with " in fold_sincos()
1303 UI->replaceAllUsesWith(&*Call); in fold_sincos()
1306 UI->eraseFromParent(); in fold_sincos()
1310 UI->replaceAllUsesWith(Reload); in fold_sincos()
1312 UI->eraseFromParent(); in fold_sincos()
1341 BasicBlock::iterator AMDGPULibCalls::getEntryIns(CallInst * UI) { in getEntryIns() argument
1342 Function * Func = UI->getParent()->getParent(); in getEntryIns()
1350 AllocaInst* AMDGPULibCalls::insertAlloca(CallInst *UI, IRBuilder<> &B, in insertAlloca() argument
1352 BasicBlock::iterator ItNew = getEntryIns(UI); in insertAlloca()
1353 Function *UCallee = UI->getCalledFunction(); in insertAlloca()
1357 B.CreateAlloca(RetType, nullptr, std::string(prefix) + UI->getName()); in insertAlloca()