/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandImm.cpp | 262 if (BitSize == 32) { 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() 338 if (OneChunks >= (BitSize / 16) - 2 || ZeroChunks >= (BitSize / 16) - 2) { in expandMOVImm() 354 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 391 if (BitSize == 64 && tryToreplicateChunks(UImm, Insn)) in expandMOVImm() 399 if (BitSize == 64 && trySequenceOfOnes(UImm, Insn)) 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/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() 307 /*Ret=*/BitSize <= 32, Attr), in initialize() 316 /*Ret=*/BitSize <= 32, Attr), in initialize() 728 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 729 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 743 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local 744 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 761 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() local [all …]
|
/openbsd/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/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/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/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/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/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/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/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() 228 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() local 231 if (BitSize == 0) in getIntImmCostIntrin() [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 786 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() local 787 uint64_t Mask = allOnes(BitSize); in expandRxSBG() 872 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 878 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG() 893 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local 894 if (Count < 1 || Count >= BitSize) in expandRxSBG() 920 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() local [all …]
|
H A D | SystemZISelLowering.cpp | 4108 BitSize = std::min(BitSize, OrigBitSize); in lowerCTPOP() 4119 if (BitSize != OrigBitSize) in lowerCTPOP() 4126 if (BitSize > 8) in lowerCTPOP() 4191 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD_OP() local 7775 unsigned BitSize, bool Invert) const { in emitAtomicLoadBinary() argument 7779 bool IsSubWord = (BitSize < 32); in emitAtomicLoadBinary() 7791 BitSize = MI.getOperand(6).getImm(); in emitAtomicLoadBinary() 7845 if (BitSize <= 32) in emitAtomicLoadBinary() 7867 .addImm(32).addImm(31 + BitSize).addImm(32 - BitSize); in emitAtomicLoadBinary() 7897 bool IsSubWord = (BitSize < 32); in emitAtomicLoadMinMax() [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/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() 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() 917 TTRes.SizeM1BitWidth = (BitSize <= 32) ? 5 : 6; in exportTypeId() 919 TTRes.SizeM1BitWidth = (BitSize <= 128) ? 7 : 32; in exportTypeId() 1117 TIL.SizeM1 = ConstantInt::get(IntPtrTy, BSI.BitSize - 1); in lowerTypeTestCalls() [all …]
|
/openbsd/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/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/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/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()
|