/freebsd-12-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 | 339 << " ua=" << unsigned(BBI.Unalign) << " pa=" << Log2(BBI.PostAlign) 498 const unsigned MaxLogAlign = Log2(MaxAlign); 696 BBInfo.front().KnownBits = Log2(MF->getAlignment()); 1051 UserOffset += Growth + UnknownPadding(MF->getAlignment(), Log2(CPEAlign)); 1340 << " la=" << Log2(Align) << " kb=" << KnownBits
|
/freebsd-12-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-12-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-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Alignment.h | 46 friend unsigned Log2(Align); 204 inline unsigned Log2(Align A) { return A.ShiftValue; } 208 inline unsigned Log2(MaybeAlign A) { 210 return Log2(A.getValue());
|
H A D | MathExtras.h | 563 /// Compile time Log2. 574 inline double Log2(double Value) { function 821 // Log2(Z) would be either Log2Z or Log2Z + 1.
|
/freebsd-12-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, 575 for (unsigned a = LogAlign + 1; a <= Log2(MaxAlign); ++a) 1265 << " la=" << Log2(Align) << '\n');
|
H A D | MipsSEISelLowering.cpp | 511 unsigned Log2 = Log2IfPositive; local 513 if ((Op0Opcode == MipsISD::VEXTRACT_ZEXT_ELT && Log2 >= ExtendTySize) || 514 Log2 == ExtendTySize) {
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 342 counter_size_bits_log = Log2(counter_size_bits); 347 packing_ratio_log = Log2(packing_ratio); 408 page_size_scaled_log(Log2(GetPageSizeCached() >> kCompactPtrScale)), 496 const uptr page_size_scaled_log = Log2(page_size_scaled);
|
H A D | sanitizer_common.h | 412 INLINE uptr Log2(uptr x) { function in namespace:__sanitizer
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsNaClELFStreamer.cpp | 273 S->EmitBundleAlignMode(Log2(MIPS_NACL_BUNDLE_ALIGN));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 554 IntrinsicInst *Log2 = nullptr; local 557 Log2 = cast<IntrinsicInst>(Op0); 562 Log2 = cast<IntrinsicInst>(Op1); 565 if (Log2) { 566 Log2->setArgOperand(0, X); 567 Log2->copyFastMathFlags(&I); 568 Value *LogXTimesY = Builder.CreateFMulFMF(Log2, Y, &I);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 194 unsigned LogA = Log2(BoundAlignment);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 62 Known.Zero.setLowBits(Log2(Alignment));
|
/freebsd-12-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-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 491 assert(Log2(abi_align) < 16 && Log2(pref_align) < 16 && "Alignment too big");
|
H A D | ConstantFold.cpp | 1199 unsigned SrcWidth = std::min(DstWidth, Log2(*GVAlign));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAssembler.cpp | 969 return (StartAddr >> Log2(BoundaryAlignment)) != 970 ((EndAddr - 1) >> Log2(BoundaryAlignment));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1797 return ConstantFoldFP(Log2, V, Ty); 1902 return ConstantFoldFP(Log2, V, Ty);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 331 OS << "align " << Log2(getAlignment());
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAsmPrinter.cpp | 1280 Out.kernarg_segment_alignment = Log2(std::max(Align(16), MaxKernArgAlign));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 1525 int Log2 = DemandedBits.exactLogBase2(); local 1526 if (Log2 >= 0) { 1529 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType());
|