| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 244 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple() argument 262 if (BitSize == 32) { in expandMOVImmSimple() 289 unsigned Opc = (BitSize == 32 ? AArch64::MOVKWi : AArch64::MOVKXi); in expandMOVImmSimple() 303 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument 311 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 320 if ((BitSize / 16) - OneChunks <= 1 || (BitSize / 16) - ZeroChunks <= 1) { in expandMOVImm() 321 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm() 326 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 328 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm() 329 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm() [all …]
|
| H A D | AArch64ExpandImm.h | 28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
|
| H A D | AArch64TargetTransformInfo.cpp | 174 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 175 if (BitSize == 0) in getIntImmCost() 180 if (BitSize & 0x3f) in getIntImmCost() 181 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 186 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 201 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 204 if (BitSize == 0) in getIntImmCostInst() 254 int NumConstants = (BitSize + 63) / 64; in getIntImmCostInst() 269 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 272 if (BitSize == 0) in getIntImmCostIntrin() [all …]
|
| H A D | AArch64ExpandPseudoInsts.cpp | 70 unsigned BitSize); 124 unsigned BitSize) { in expandMOVImm() argument 139 AArch64_IMM::expandMOVImm(Imm, BitSize, Insn); in expandMOVImm() 153 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 218 const unsigned BitSize = ByteSize * 8; in initialize() local 220 std::string BitSizeStr = utostr(BitSize); in initialize() 264 Type *Ty = Type::getIntNTy(Ctx, BitSize); in initialize() 270 /*Ret=*/BitSize <= 32, Attr), in initialize() 275 Idxs Idxs2Or12 ((BitSize <= 32) ? Idxs({1, 2}) : Idxs({2})); in initialize() 276 Idxs Idxs34Or1234((BitSize <= 32) ? Idxs({1, 2, 3, 4}) : Idxs({3, 4})); in initialize() 303 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initialize() 307 /*Ret=*/BitSize <= 32, Attr), in initialize() 316 /*Ret=*/BitSize <= 32, Attr), in initialize() 728 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 56 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() local 60 switch(BitSize) { in LowerBSWAP() 159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 160 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 165 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 176 if (BitSize > 64) { in LowerCTPOP() 179 BitSize -= 64; in LowerCTPOP() 191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 192 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
| H A D | LowerTypeTests.h | 41 uint64_t BitSize; member 53 return Bits.size() == BitSize; in isAllOnes() 192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGAddressAnalysis.h | 72 bool contains(const SelectionDAG &DAG, int64_t BitSize, 76 bool contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 79 return contains(DAG, BitSize, Other, OtherBitSize, BitOffset); in contains()
|
| H A D | ValueTypes.h | 223 unsigned BitSize = getSizeInBits(); in isRound() local 224 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCAsmBackend.cpp | 172 unsigned BitSize = getFixupKindInfo(Kind).TargetSize; in applyFixup() local 173 unsigned Size = (BitSize + 7) / 8; in applyFixup() 179 if (BitSize < 64) in applyFixup() 180 Value &= ((uint64_t)1 << BitSize) - 1; in applyFixup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 58 if (BitSize == 0) in getIntImmCost() 62 if (BitSize > 64) in getIntImmCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.cpp | 452 unsigned DwarfExpression::getOrCreateBaseType(unsigned BitSize, in getOrCreateBaseType() argument 458 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && in getOrCreateBaseType() 463 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding); in getOrCreateBaseType() 590 unsigned BitSize = Op->getArg(0); in addExpression() local 600 emitBaseTypeRef(getOrCreateBaseType(BitSize, Encoding)); in addExpression() 602 if (PrevConvertOp && PrevConvertOp->getArg(0) < BitSize) { in addExpression()
|
| H A D | DwarfCompileUnit.h | 140 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef() 141 BitSize(BitSize), Encoding(Encoding) {} in BaseTypeRef() 142 unsigned BitSize; member
|
| H A D | DwarfExpression.h | 340 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVSymbol.h | 53 uint32_t BitSize = 0; variable 114 uint32_t getBitSize() const override { return BitSize; } in getBitSize() 115 void setBitSize(uint32_t Size) override { BitSize = Size; } in setBitSize()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 73 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 76 if (BitSize == 0) in getIntImmCost() 79 if (BitSize > 64) in getIntImmCost() 108 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 111 if (BitSize == 0) in getIntImmCostInst() 114 if (BitSize > 64) in getIntImmCostInst() 130 if (BitSize == 8) in getIntImmCostInst() 179 if (BitSize <= 32) in getIntImmCostInst() 190 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst() 228 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local [all …]
|
| H A D | SystemZISelDAGToDAG.cpp | 121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands() 122 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands() 126 unsigned BitSize; member 764 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask() 786 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 787 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 841 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 872 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 874 if (maskMatters(RxSBG, allOnes(BitSize) - allOnes(InnerBitSize))) { in expandRxSBG() 878 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() [all …]
|
| H A D | SystemZISelLowering.cpp | 2527 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument 2665 unsigned BitSize = NewC.Op0.getValueSizeInBits(); in adjustForTestUnderMask() local 2672 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2683 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 2690 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask() 4107 int64_t BitSize = llvm::bit_ceil(NumSignificantBits); in lowerCTPOP() local 4108 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 4117 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) { in lowerCTPOP() 4119 if (BitSize != OrigBitSize) in lowerCTPOP() 4121 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT)); in lowerCTPOP() [all …]
|
| H A D | SystemZInstrInfo.h | 327 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
| H A D | SystemZISelLowering.h | 738 unsigned BinOpcode, unsigned BitSize, 744 unsigned BitSize) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 134 if (BitOffset >= BitSize) in containsGlobalOffset() 141 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 179 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build() 218 uint64_t BitSize, uint64_t &AllocByteOffset, in allocate() argument 229 unsigned ReqSize = AllocByteOffset + BitSize; in allocate() 254 uint64_t BitSize; member 585 BAI->BitSize = BSI.BitSize; in createByteArray() 594 return BAI1.BitSize > BAI2.BitSize; in allocateByteArrays() 604 BAB.allocate(BAI->Bits, BAI->BitSize, ByteArrayOffsets[I], Mask); in allocateByteArrays() 915 uint64_t BitSize = cast<ConstantInt>(TIL.SizeM1)->getZExtValue() + 1; in exportTypeId() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 174 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 175 if (BitSize == 0) in getIntImmCost() 205 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 206 if (BitSize == 0) in getIntImmCostIntrin() 241 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() local 242 if (BitSize == 0) in getIntImmCostInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 172 bool BaseIndexOffset::contains(const SelectionDAG &DAG, int64_t BitSize, in contains() argument 184 return BitOffset + OtherBitSize <= BitSize; in contains()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 539 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) in BitFieldRecord() argument 540 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord() 545 uint8_t getBitSize() const { return BitSize; } in getBitSize() 548 uint8_t BitSize = 0; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 397 uint64_t BitSize = IntTy->getBitWidth(); in mutate() local 399 (BitSize >= 64) ? (uint64_t)-1 : ((uint64_t)1 << BitSize) - 1; in mutate()
|