HomeSort by relevance Sort by last modified time
    Searched refs:TheSwitch (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 501 SwitchInst *TheSwitch =
543 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
617 Type *OldFnRetTy = TheSwitch->getParent()->getParent()->getReturnType();
626 ReturnInst::Create(Context, nullptr, TheSwitch); // Return void
627 } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
629 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
634 Constant::getNullValue(OldFnRetTy), TheSwitch);
637 TheSwitch->eraseFromParent();
642 BranchInst::Create(TheSwitch->getSuccessor(1), TheSwitch)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
CodeExtractor.cpp 467 SwitchInst *TheSwitch =
510 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
582 Type *OldFnRetTy = TheSwitch->getParent()->getParent()->getReturnType();
591 ReturnInst::Create(Context, 0, TheSwitch); // Return void
592 } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
594 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
599 Constant::getNullValue(OldFnRetTy), TheSwitch);
602 TheSwitch->eraseFromParent();
607 BranchInst::Create(TheSwitch->getSuccessor(1), TheSwitch)
    [all...]

Completed in 75 milliseconds