Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp197 IntegerType *CommonITy = nullptr; in runOnFunction() local
201 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runOnFunction()
202 CommonITy = ITy; in runOnFunction()
205 auto GetSwitchValue = [DL, CommonITy](IndirectBrInst *IBr) { in runOnFunction()
207 IBr->getAddress(), CommonITy, in runOnFunction()
232 auto *SwitchPN = PHINode::Create(CommonITy, IndirectBrs.size(), in runOnFunction()
258 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]); in runOnFunction()