| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 319 inline unsigned Log2_64(uint64_t Value) { in Log2_64() function 521 int Log2Z = Log2_64(X) + Log2_64(Y); 523 int Log2Max = Log2_64(Max);
|
| H A D | Parallel.h | 156 llvm::Log2_64(std::distance(Start, End)) + 1); in parallel_sort()
|
| H A D | Alignment.h | 79 ShiftValue = Log2_64(Value); in Align()
|
| H A D | ScaledNumber.h | 196 int32_t LocalFloor = llvm::Log2_64(Digits); in getLgImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/ |
| H A D | Support.h | 102 return llvm::Log2_64(Mask); in getResourceStateIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | LaneBitmask.h | 78 return Log2_64(Mask); in getHighestLane()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldCOFF.cpp | 103 Log2_64(PointerSize)); in getDLLImportOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | DebuggerSupportPlugin.cpp | 148 DSec.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis() 205 NDSP.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCELFStreamer.cpp | 107 : sbss[(Log2_64(AccessSize))]; in HexagonMCEmitCommonSymbol()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.cpp | 76 unsigned IterationNum = CopyLen >> Log2_64(Alignment); in expandMEMCPY()
|
| H A D | BPFPreserveStaticOffset.cpp | 213 unsigned AlignShiftValue = Log2_64(Insn->getAlign().value()); in fillCommonArgs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 356 Log2_64(VectorWidth)); in IsSafeActiveMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEFrameLowering.cpp | 270 .addImm(M1(64 - Log2_64(MaybeAlign.valueOrOne().value()))); in emitSPAdjustment()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMatInt.cpp | 55 Res.emplace_back(RISCV::BSETI, Log2_64(Val)); in generateInstSeqImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPatterns.td | 144 return isPowerOf2_64(V) && Log2_64(V) < 32; 149 return isPowerOf2_64(V) && Log2_64(V) >= 32; 154 return isPowerOf2_64(NV) && Log2_64(NV) < 32; 159 return isPowerOf2_64(NV) && Log2_64(NV) >= 32; 199 def Log2_64: SDNodeXForm<imm, [{ 201 return CurDAG->getTargetConstant(Log2_64(V), SDLoc(N), MVT::i32); 211 return CurDAG->getTargetConstant(Log2_64(NV), SDLoc(N), MVT::i32); 1953 (S2_setbit_i (LoReg $Rss), (Log2_64 $V)))>; 1960 (S2_togglebit_i (LoReg $Rss), (Log2_64 $V)))>; 2027 (S4_ntstbit_i (LoReg $Rs), (Log2_64 $u6))>; [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
| H A D | LoongArchAsmBackend.cpp | 238 unsigned Lo = Log2_64(Count) + 1; in shouldInsertFixupForCodeAlign()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MIPeepholeOpt.cpp | 168 unsigned HighestBitSet = Log2_64(UImm); in splitBitmaskImm()
|
| H A D | AArch64LoopIdiomTransform.cpp | 524 const uint64_t AddrShiftAmt = llvm::Log2_64(MinPageSize); in expandFindMismatch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 924 const int N = Log2_64(LargestTraceSize) + 1; in createBPFunctionNodes() 932 for (int I = Log2_64(Timestamp + 1); I < N; I++) { in createBPFunctionNodes()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | LoongArch.cpp | 703 r.sym->isUndefined() ? Log2_64(r.addend) + 1 : r.addend; in relax()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/Disassembler/ |
| H A D | CSKYDisassembler.cpp | 364 Inst.addOperand(MCOperand::createImm(Log2_64(Imm))); in decodeImmShiftOpValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 493 Imm = Log2_64(Imm); in selectBinaryOp() 1945 Imm = Log2_64(Imm); in fastEmit_ri_() 1949 Imm = Log2_64(Imm); in fastEmit_ri_()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 478 int64_t LogOfAlign = Log2_64(MI.getOperand(2).getImm()); in computeKnownBitsImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsAsmPrinter.cpp | 511 O << Log2_64(MO.getImm()); in PrintAsmOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoZb.td | 106 return CurDAG->getTargetConstant(llvm::Log2_64(I), SDLoc(N), 148 return CurDAG->getTargetConstant(llvm::Log2_64(~I), SDLoc(N),
|