Lines Matching refs:CurrentDef
427 Value *CurrentDef = nullptr;
433 if (CurrentDef == S.def())
436 CurrentDef = S.def();
438 if (CurrentDef == PromiseAlloca)
443 if (auto *AI = dyn_cast<AllocaInst>(CurrentDef)) {
458 Ty = CurrentDef->getType();
959 Instruction *CurrentDef = nullptr;
963 if (CurrentDef != E.def()) {
964 CurrentDef = cast<Instruction>(E.def());
972 CurrentMaterialization = cast<Instruction>(CurrentDef)->clone();
973 CurrentMaterialization->setName(CurrentDef->getName());
986 // Replace all uses of CurrentDef in the current instruction with the
988 E.user()->replaceUsesOfWith(CurrentDef, CurrentMaterialization);