Home
last modified time | relevance | path

Searched refs:Log2_32 (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp61 Log2Size = Log2_32(1); in getAArch64FixupKindMachOInfo()
64 Log2Size = Log2_32(2); in getAArch64FixupKindMachOInfo()
67 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
72 Log2Size = Log2_32(8); in getAArch64FixupKindMachOInfo()
82 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
97 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
117 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp66 Log2Size = llvm::Log2_32(1); in getARMFixupKindMachOInfo()
69 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo()
72 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
75 Log2Size = llvm::Log2_32(8); in getARMFixupKindMachOInfo()
94 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
101 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DRISCVTargetParser.h94 unsigned LmulLog2 = Log2_32(LMUL); in encodeLMUL()
105 return Log2_32(SEW) - 3; in encodeSEW()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp344 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEG()
384 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEGFF()
426 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLXSEG()
447 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVLXSEG()
481 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSSEG()
511 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSXSEG()
529 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVSXSEG()
832 unsigned Log2SEW = Log2_32(Node->getConstantOperandVal(6)); in selectSF_VC_X_SE()
1639 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select()
1718 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select()
[all …]
H A DRISCVOptWInstrs.cpp244 if (Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
256 if (OpIdx == 2 && Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
H A DRISCVRegisterInfo.cpp350 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVSPILL()
427 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVRELOAD()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp316 unsigned Stages = Log2_32(NumSplits); in trySADReplacement()
374 unsigned Stages = Log2_32(NumElems); in matchAddReduction()
H A DX86SpeculativeLoadHardening.cpp1867 unsigned RegIdx = Log2_32(RegBytes); in canHardenRegister()
1917 unsigned SubRegImm = SubRegImms[Log2_32(Bytes)]; in hardenValueInRegister()
1930 unsigned OrOpCode = OrOpCodes[Log2_32(Bytes)]; in hardenValueInRegister()
H A DX86CallFrameOptimization.cpp246 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp652 return (Log2_32(Bits1) - Log2_32(Bits0)); in getElSizeLog2Diff()
654 return (Log2_32(Bits0) - Log2_32(Bits1)); in getElSizeLog2Diff()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp223 if (Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers()
234 if (OpIdx == 2 && Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers()
H A DLoongArchISelDAGToDAG.cpp264 if (lsb == 0 && Log2_32(ShiftWidth) <= msb + 1) { in selectShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp384 return Log2_32(Offset) << ELF::STO_PPC64_LOCAL_BIT; in encodePPC64LocalEntryOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1062 unsigned Shift = Log2_32(SegLen); in getInputSegmentList()
1122 unsigned Shift = Log2_32(SegLen); in packSegmentMask()
2239 assert(isPowerOf2_32(VecLen) && Log2_32(VecLen) <= 8); in perfect()
2240 unsigned LogLen = Log2_32(VecLen); in perfect()
2241 unsigned HwLog = Log2_32(HwLen); in perfect()
2347 Perm[I] = Log2_32(Pick[I]); in perfect()
H A DHexagonPatterns.td194 def Log2_32: SDNodeXForm<imm, [{
196 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
206 return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32);
1930 (S2_setbit_i IntRegs:$Rs, (Log2_32 $V))>;
1932 (S2_togglebit_i IntRegs:$Rs, (Log2_32 $V))>;
2017 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5))>;
2019 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5))>;
2058 (I1toI32 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5)))>;
2060 (I1toI32 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5)))>;
3009 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp483 unsigned MaxShiftAmountWidth = Log2_32(NarrowWidth); in narrowFunnelShift()
886 if (AWidth == DestWidth && AWidth > Log2_32(SrcWidth)) { in visitTrunc()
900 if (Log2_32(*MaxVScale) < DestWidth) { in visitTrunc()
1267 if (Log2_32(*MaxVScale) < TypeWidth) { in visitZExt()
1558 if (Log2_32(*MaxVScale) < (SrcBitSize - 1)) { in visitSExt()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2905 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select()
2917 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select()
5517 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5519 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5528 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5530 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5562 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5564 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5574 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5576 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h589 assert(llvm::Log2_32(Align) <= 13 && "alignment requested is too large"); in setAlignment()
590 AlignBits = (llvm::Log2_32(Align) + 1) << 20; in setAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp580 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz()
581 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp362 P2HalfMemSize = 1 << Log2_32(MemSize); in legalizeCustom()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h340 inline unsigned Log2_32(uint32_t Value) { in Log2_32() function
/freebsd/contrib/llvm-project/lld/COFF/
H A DChunks.h79 p2Align = llvm::Log2_32(align); in setAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp165 return B.CreateLShr(Len, Log2_32(OpSizeVal)); in getRuntimeLoopCount()
H A DLoopUnrollRuntime.cpp684 if (Log2_32(Count) > BEWidth) { in UnrollRuntimeLoopRemainder()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h416 : NodesPerBlock(NPB), BitsPerIndex(Log2_32(NPB)), in NodesPerBlock()

1234