Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1027 const APInt &AP1, in foldICmpShrConstConst() argument
1045 if (AP2.isNegative() != AP1.isNegative()) in foldICmpShrConstConst()
1047 if (AP2.sgt(AP1)) in foldICmpShrConstConst()
1051 if (!AP1) in foldICmpShrConstConst()
1056 if (AP1 == AP2) in foldICmpShrConstConst()
1060 if (IsAShr && AP1.isNegative()) in foldICmpShrConstConst()
1061 Shift = AP1.countLeadingOnes() - AP2.countLeadingOnes(); in foldICmpShrConstConst()
1063 Shift = AP1.countLeadingZeros() - AP2.countLeadingZeros(); in foldICmpShrConstConst()
1066 if (IsAShr && AP1 == AP2.ashr(Shift)) { in foldICmpShrConstConst()
1069 if (AP1.isAllOnes() && !AP2.isPowerOf2()) in foldICmpShrConstConst()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGVTables.cpp1302 llvm::sort(AddressPoints, [this](const AddressPoint &AP1, in EmitVTableTypeMetadata()
1304 if (&AP1 == &AP2) in EmitVTableTypeMetadata()
1310 QualType(AP1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
1324 return AP1.second < AP2.second; in EmitVTableTypeMetadata()