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),
628 Type *OldFnRetTy = TheSwitch->getParent()->getParent()->getReturnType();
637 ReturnInst::Create(Context, 0, TheSwitch); // Return void
638 } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
640 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
645 Constant::getNullValue(OldFnRetTy), TheSwitch);
648 TheSwitch->eraseFromParent();
653 BranchInst::Create(TheSwitch
[all...]

Completed in 38 milliseconds