Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDIndirectBrExpandPass.cpp172 IntegerType *CommonITy = nullptr; in runOnFunction() local
176 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runOnFunction()
177 CommonITy = ITy; in runOnFunction()
180 auto GetSwitchValue = [DL, CommonITy](IndirectBrInst *IBr) { in runOnFunction()
182 IBr->getAddress(), CommonITy, in runOnFunction()
197 auto *SwitchPN = PHINode::Create(CommonITy, IndirectBrs.size(), in runOnFunction()
216 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]); in runOnFunction()