Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1028 const APInt &AP2) { in foldICmpShrConstConst() argument
1038 if (AP2.isZero()) in foldICmpShrConstConst()
1043 if (AP2.isAllOnes()) in foldICmpShrConstConst()
1045 if (AP2.isNegative() != AP1.isNegative()) in foldICmpShrConstConst()
1047 if (AP2.sgt(AP1)) in foldICmpShrConstConst()
1054 ConstantInt::get(A->getType(), AP2.logBase2())); in foldICmpShrConstConst()
1056 if (AP1 == AP2) 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()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGVTables.cpp1303 const AddressPoint &AP2) { in EmitVTableTypeMetadata() argument
1304 if (&AP1 == &AP2) in EmitVTableTypeMetadata()
1316 QualType(AP2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
1324 return AP1.second < AP2.second; in EmitVTableTypeMetadata()