Searched refs:TheSwitch (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1179 SwitchInst *TheSwitch = local
1221 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
1276 Type *OldFnRetTy = TheSwitch->getParent()->getParent()->getReturnType();
1285 ReturnInst::Create(Context, nullptr, TheSwitch); // Return void
1286 } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
1288 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
1293 Constant::getNullValue(OldFnRetTy), TheSwitch);
1296 TheSwitch->eraseFromParent();
1301 BranchInst::Create(TheSwitch
[all...]

Completed in 106 milliseconds