Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1861 int32_t ExactLogBase2 = AI.exactLogBase2(); in visitICmpInstWithInstAndIntCst() local
1862 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in visitICmpInstWithInstAndIntCst()
1863 Type *NTy = IntegerType::get(ICI.getContext(), ExactLogBase2 + 1); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1715 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant() local
1716 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()
1717 Type *NTy = IntegerType::get(Cmp.getContext(), ExactLogBase2 + 1); in foldICmpAndConstant()