Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp193 IntegerType *CommonITy = nullptr; in runOnFunction() local
197 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runOnFunction()
198 CommonITy = ITy; in runOnFunction()
201 auto GetSwitchValue = [DL, CommonITy](IndirectBrInst *IBr) { in runOnFunction()
203 IBr->getAddress(), CommonITy, in runOnFunction()
228 auto *SwitchPN = PHINode::Create(CommonITy, IndirectBrs.size(), in runOnFunction()
254 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]); in runOnFunction()