Searched refs:Log2 (Results 1 – 15 of 15) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.h | 273 uint32_t Log2 = Log(A); in CollectFeatures() local 274 if (Log2 < 3) return A; in CollectFeatures() 275 Log2 -= 3; in CollectFeatures() 276 return (Log2 + 1) * 8 + ((A >> Log2) & 7); in CollectFeatures()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_primary64.h | 342 counter_size_bits_log = Log2(counter_size_bits); in PackedCounterArray() 347 packing_ratio_log = Log2(packing_ratio); in PackedCounterArray() 408 page_size_scaled_log(Log2(GetPageSizeCached() >> kCompactPtrScale)), in FreePagesRangeTracker() 496 const uptr page_size_scaled_log = Log2(page_size_scaled); in ReleaseFreeMemoryToOS()
|
| H A D | sanitizer_common.h | 411 INLINE uptr Log2(uptr x) { in Log2() function
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 689 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2() local 691 if (Log2 != -1) { in selectVSplatUimmPow2() 692 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); in selectVSplatUimmPow2() 776 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2() local 778 if (Log2 != -1) { in selectVSplatUimmInvPow2() 779 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); in selectVSplatUimmInvPow2()
|
| H A D | MipsSEISelLowering.cpp | 507 unsigned Log2 = Log2IfPositive; in performANDCombine() local 509 if ((Op0Opcode == MipsISD::VEXTRACT_ZEXT_ELT && Log2 >= ExtendTySize) || in performANDCombine() 510 Log2 == ExtendTySize) { in performANDCombine()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 466 IntrinsicInst *Log2 = nullptr; in visitFMul() local 469 Log2 = cast<IntrinsicInst>(Op0); in visitFMul() 474 Log2 = cast<IntrinsicInst>(Op1); in visitFMul() 477 if (Log2) { in visitFMul() 478 Log2->setArgOperand(0, X); in visitFMul() 479 Log2->copyFastMathFlags(&I); in visitFMul() 480 Value *LogXTimesY = Builder.CreateFMulFMF(Log2, Y, &I); in visitFMul()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_thread.cc | 208 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
|
| H A D | asan_allocator.cc | 47 u32 res = Log2(rz_size) - 4; in RZSize2Log() 365 return Log2(user_requested_alignment) - 2; in ComputeUserRequestedAlignmentLog()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 528 inline double Log2(double Value) {
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 922 auto Log2 = MIRBuilder.buildInstr(TargetOpcode::G_FLOG2) in translateKnownIntrinsic() local 925 Log2->copyIRFlags(CI); in translateKnownIntrinsic()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | BuiltinsNVPTX.def | 174 // Exp2, Log2
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1015 int Log2 = DemandedBits.exactLogBase2(); in SimplifyDemandedBits() local 1016 if (Log2 >= 0) { in SimplifyDemandedBits() 1019 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType()); in SimplifyDemandedBits()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1753 return ConstantFoldFP(Log2, V, Ty); in ConstantFoldScalarCall()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IntrinsicsNVVM.td | 263 // Exp2 Log2
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXIntrinsics.td | 561 // Exp2 Log2
|