Home
last modified time | relevance | path

Searched refs:CommonITy (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp201 IntegerType *CommonITy = nullptr; in runImpl() local
205 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runImpl()
206 CommonITy = ITy; in runImpl()
209 auto GetSwitchValue = [CommonITy](IndirectBrInst *IBr) { in runImpl()
210 return CastInst::CreatePointerCast(IBr->getAddress(), CommonITy, in runImpl()
237 auto *SwitchPN = PHINode::Create(CommonITy, IndirectBrs.size(), in runImpl()
263 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]); in runImpl()