/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFSelectionDAGInfo.cpp | 30 unsigned StoresNumEstimate = alignTo(CopyLen, Alignment) >> Log2(Alignment);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBasicBlockInfo.h | 34 if (KnownBits < Log2(Alignment)) 105 return std::max(Log2(std::max(PostAlign, Align)), internalKnownBits());
|
H A D | ARMConstantIslandPass.cpp | 334 << " ua=" << unsigned(BBI.Unalign) << " pa=" << Log2(BBI.PostAlign) 487 const unsigned MaxLogAlign = Log2(MaxAlign); 516 unsigned LogAlign = Log2(Alignment); 684 BBInfo.front().KnownBits = Log2(MF->getAlignment()); 1039 UserOffset += Growth + UnknownPadding(MF->getAlignment(), Log2(CPEAlign)); 1328 << " la=" << Log2(Align) << " kb=" << KnownBits
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblySetP2AlignOperands.cpp | 68 uint64_t P2Align = Log2((*MI.memoperands_begin())->getAlign());
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerTracePC.h | 272 uint32_t Log2 = Log(A); 273 if (Log2 < 3) return A; 274 Log2 -= 3; 275 return (Log2 + 1) * 8 + ((A >> Log2) & 7);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZLongBranch.cpp | 182 if (Log2(Block.Alignment) > Position.KnownBits) { 187 Position.KnownBits = Log2(Block.Alignment); 278 BlockPosition Position(Log2(MF->getAlignment())); 342 BlockPosition Position(Log2(MF->getAlignment())); 443 BlockPosition Position(Log2(MF->getAlignment()));
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.h | 84 Known.Zero.setLowBits(Log2(Alignment));
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Alignment.h | 45 friend unsigned Log2(Align); 217 inline unsigned Log2(Align A) { return A.ShiftValue; }
|
H A D | MathExtras.h | 575 /// Compile time Log2. 586 inline double Log2(double Value) { function 832 // Log2(Z) would be either Log2Z or Log2Z + 1.
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 346 counter_size_bits_log = Log2(counter_size_bits); 351 packing_ratio_log = Log2(packing_ratio); 412 page_size_scaled_log(Log2(GetPageSizeCached() >> kCompactPtrScale)), 500 const uptr page_size_scaled_log = Log2(page_size_scaled);
|
H A D | sanitizer_common.h | 413 INLINE uptr Log2(uptr x) { function in namespace:__sanitizer
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsNaClELFStreamer.cpp | 273 S->emitBundleAlignMode(Log2(MIPS_NACL_BUNDLE_ALIGN));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 637 int32_t Log2 = ImmValue.exactLogBase2(); local 639 if (Log2 != -1) { 640 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); 724 int32_t Log2 = (~ImmValue).exactLogBase2(); local 726 if (Log2 != -1) { 727 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy);
|
H A D | MipsConstantIslandPass.cpp | 546 SmallVector<MachineBasicBlock::iterator, 8> InsPoint(Log2(MaxAlign) + 1, 563 unsigned LogAlign = Log2(Alignment); 574 for (unsigned a = LogAlign + 1; a <= Log2(MaxAlign); ++a) 1264 << " la=" << Log2(Align) << '\n');
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.cpp | 258 return (int)Log2(Offset) << (int)ELF::STO_PPC64_LOCAL_BIT;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 620 IntrinsicInst *Log2 = nullptr; local 623 Log2 = cast<IntrinsicInst>(Op0); 628 Log2 = cast<IntrinsicInst>(Op1); 631 if (Log2) { 632 Value *Log2 = Builder.CreateUnaryIntrinsic(Intrinsic::log2, X, &I); local 633 Value *LogXTimesY = Builder.CreateFMulFMF(Log2, Y, &I);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 599 return Log2(getPreferredAlign(GV));
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_thread.cpp | 207 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size));
|
H A D | asan_allocator.cpp | 46 u32 res = Log2(rz_size) - 4; 369 return Log2(user_requested_alignment) - 2;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 200 unsigned LogA = Log2(BoundAlignment);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 496 assert(Log2(abi_align) < 16 && Log2(pref_align) < 16 && "Alignment too big");
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 418 uint32_t attr = go ? Log2(go->getAlign().valueOrOne()) : 0;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAssembler.cpp | 991 return (StartAddr >> Log2(BoundaryAlignment)) != 992 ((EndAddr - 1) >> Log2(BoundaryAlignment));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCFrameLowering.cpp | 899 assert(Log2(MaxAlign) < 16 && "Invalid alignment!"); 1060 .addImm(64 - Log2(MaxAlign)); 1065 .addImm(32 - Log2(MaxAlign)) 1462 .addImm(64 - Log2(MaxAlign)); 1467 .addImm(32 - Log2(MaxAlign))
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 796 DstPtr = MIRBuilder.buildMaskLowPtrBits(PtrTy, ListTmp, Log2(Alignment));
|