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

/external/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp513 SwitchInst *TheSwitch = local
556 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
631 Type *OldFnRetTy = TheSwitch->getParent()->getParent()->getReturnType();
640 ReturnInst::Create(Context, nullptr, TheSwitch); // Return void
641 } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
643 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
648 Constant::getNullValue(OldFnRetTy), TheSwitch);
651 TheSwitch->eraseFromParent();
656 BranchInst::Create(TheSwitch
[all...]

Completed in 55 milliseconds