| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 144 const size_t BitSize = ByteSize * 8; in initializeCallbacks() local 153 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); in initializeCallbacks() 155 SmallString<32> AtomicLoadName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks() 160 SmallString<32> AtomicStoreName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks() 186 SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart); in initializeCallbacks() 191 SmallString<32> AtomicCASName("__tsan_atomic" + itostr(BitSize) + in initializeCallbacks() 479 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local 480 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() 493 const size_t BitSize = ByteSize * 8; in instrumentAtomic() local 494 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 169 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 170 if (BitSize == 0) in getIntImmCost() 175 if (BitSize & 0x3f) in getIntImmCost() 176 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 181 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 194 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 197 if (BitSize == 0) in getIntImmCost() 247 unsigned NumConstants = (BitSize + 63) / 64; in getIntImmCost() 259 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 262 if (BitSize == 0) in getIntImmCost() [all …]
|
| H A D | AArch64ExpandPseudoInsts.cpp | 43 unsigned BitSize); 393 unsigned BitSize) { in expandMOVImm() argument 399 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm() 401 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in expandMOVImm() 402 unsigned Opc = (BitSize == 32 ? AArch64::ORRWri : AArch64::ORRXri); in expandMOVImm() 406 .addReg(BitSize == 32 ? AArch64::WZR : AArch64::XZR) in expandMOVImm() 417 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() 448 if (BitSize == 64 && OneChunks < 3 && ZeroChunks < 3) { in expandMOVImm() 484 if (BitSize == 64 && tryToreplicateChunks(UImm, MI, MBB, MBBI, TII)) in expandMOVImm() 492 if (BitSize == 64 && trySequenceOfOnes(UImm, MI, MBB, MBBI, TII)) in expandMOVImm() [all …]
|
| H A D | AArch64InstrInfo.cpp | 2732 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 2736 BitSize = 32; in genAlternativeCodeSequence() 2743 BitSize = 64; in genAlternativeCodeSequence() 2755 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in genAlternativeCodeSequence() 2757 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence() 2824 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local 2828 BitSize = 32; in genAlternativeCodeSequence() 2835 BitSize = 64; in genAlternativeCodeSequence() 2846 uint64_t UImm = -Imm << (64 - BitSize) >> (64 - BitSize); in genAlternativeCodeSequence() 2848 if (AArch64_AM::processLogicalImmediate(UImm, BitSize, Encoding)) { in genAlternativeCodeSequence()
|
| H A D | AArch64ISelDAGToDAG.cpp | 327 unsigned BitSize = N.getValueType().getSizeInBits(); in SelectShiftedRegister() local 328 unsigned Val = RHS->getZExtValue() & (BitSize - 1); in SelectShiftedRegister()
|
| H A D | AArch64ISelLowering.cpp | 6735 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in shouldConvertConstantLoadToIntImm() local 6736 if (BitSize == 0) in shouldConvertConstantLoadToIntImm() 6740 if (Val == 0 || AArch64_AM::isLogicalImmediate(Val, BitSize)) in shouldConvertConstantLoadToIntImm() 6745 if (BitSize == 32) in shouldConvertConstantLoadToIntImm()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 143 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 144 if (BitSize == 0) in getIntImmCost() 173 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 174 if (BitSize == 0) in getIntImmCost() 206 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 207 if (BitSize == 0) in getIntImmCost()
|
| H A D | PPCISelLowering.cpp | 1095 unsigned BitSize; in isAllNegativeZeroVector() local 1098 if (BV->isConstantSplat(APVal, APUndef, BitSize, HasAnyUndefs, 32, true)) in isAllNegativeZeroVector() 9802 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in shouldConvertConstantLoadToIntImm() local 9803 if (BitSize == 0 || BitSize > 64) in shouldConvertConstantLoadToIntImm()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() local 173 switch(BitSize) { in LowerBSWAP() 273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() local 274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() 279 for (unsigned i = 1, ct = 0; i < (BitSize>64 ? 64 : BitSize); in LowerCTPOP() 290 if (BitSize > 64) { in LowerCTPOP() 293 BitSize -= 64; in LowerCTPOP() 306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ() local 307 for (unsigned i = 1; i < BitSize; i <<= 1) { in LowerCTLZ()
|
| H A D | TargetInstrInfo.cpp | 294 unsigned BitSize = in getStackSlotRange() local 298 if (BitSize % 8) in getStackSlotRange() 306 Size = BitSize /= 8; in getStackSlotRange()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 167 unsigned BitSize = getSizeInBits(); in isRound() local 168 return BitSize >= 8 && !(BitSize & (BitSize - 1)); in isRound()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 116 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()), in RxSBGOperands() 117 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands() 121 unsigned BitSize; member 683 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask() 752 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 784 if (maskMatters(RxSBG, allOnes(RxSBG.BitSize) - allOnes(InnerBitSize))) in expandRxSBG() 797 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local 798 if (Count < 1 || Count >= BitSize) in expandRxSBG() 808 if (!refineRxSBGMask(RxSBG, allOnes(BitSize - Count) << Count)) in expandRxSBG() 824 unsigned BitSize = N.getValueType().getSizeInBits(); in expandRxSBG() local [all …]
|
| H A D | SystemZISelLowering.cpp | 1400 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask, in getTestUnderMaskCond() argument 1535 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); in adjustForTestUnderMask() local 1540 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 1549 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, in adjustForTestUnderMask() 1556 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask() 2224 int64_t BitSize = NarrowVT.getSizeInBits(); in lowerATOMIC_LOAD_OP() local 2261 DAG.getConstant(32 - BitSize, WideVT)); in lowerATOMIC_LOAD_OP() 2265 DAG.getConstant(uint32_t(-1) >> BitSize, WideVT)); in lowerATOMIC_LOAD_OP() 2270 DAG.getConstant(BitSize, WideVT) }; in lowerATOMIC_LOAD_OP() 2277 DAG.getConstant(BitSize, WideVT)); in lowerATOMIC_LOAD_OP() [all …]
|
| H A D | SystemZISelLowering.h | 307 unsigned BinOpcode, unsigned BitSize, 313 unsigned BitSize) const;
|
| H A D | SystemZInstrInfo.h | 226 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
|
| H A D | SystemZInstrInfo.cpp | 1178 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize, in isRxSBGMask() argument 1195 if (isStringOfOnes(Mask ^ allOnes(BitSize), LSB, Length)) { in isRxSBGMask() 1197 assert(LSB + Length < BitSize && "Top bit must be set"); in isRxSBGMask()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 1029 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 1030 if (BitSize == 0) in getIntImmCost() 1037 if (BitSize > 128) in getIntImmCost() 1045 if (BitSize & 0x3f) in getIntImmCost() 1046 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost() 1051 for (unsigned ShiftVal = 0; ShiftVal < BitSize; ShiftVal += 64) { in getIntImmCost() 1064 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local 1067 if (BitSize == 0) in getIntImmCost() 1118 unsigned NumConstants = (BitSize + 63) / 64; in getIntImmCost() 1132 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() local [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ItaniumMangle.cpp | 2213 unsigned BitSize = (T->getNumElements() * in mangleNeonVectorType() local 2215 if (BitSize == 64) in mangleNeonVectorType() 2218 assert(BitSize == 128 && "Neon vector type not 64 or 128 bits"); in mangleNeonVectorType() 2262 unsigned BitSize = in mangleAArch64NeonVectorType() local 2264 (void)BitSize; // Silence warning. in mangleAArch64NeonVectorType() 2266 assert((BitSize == 64 || BitSize == 128) && in mangleAArch64NeonVectorType()
|
| H A D | ASTContext.cpp | 1746 CharUnits ASTContext::toCharUnitsFromBits(int64_t BitSize) const { in toCharUnitsFromBits() 1747 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Target/ |
| H A D | TargetLowering.h | 1813 unsigned BitSize = VT.getSizeInBits(); in getTypeConversion() local 1815 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2320 unsigned BitSize = getDataLayout()->getTypeSizeInBits(OpTy); in ParseConstraints() local 2321 switch (BitSize) { in ParseConstraints() 2330 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true); in ParseConstraints()
|
| H A D | DAGCombiner.cpp | 4193 unsigned BitSize = VT.getScalarSizeInBits(); in visitSHL() local 4195 DAG.getConstant(APInt::getHighBitsSet(BitSize, in visitSHL() 4196 BitSize - N1C->getZExtValue()), VT); in visitSHL() 4436 unsigned BitSize = N0.getScalarValueSizeInBits(); in visitSRL() local 4437 if (BitSize <= 64) { in visitSRL() 4438 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize; in visitSRL() 4448 unsigned BitSize = SmallVT.getScalarSizeInBits(); in visitSRL() local 4449 if (N1C->getZExtValue() >= BitSize) in visitSRL()
|
| H A D | SelectionDAGBuilder.cpp | 6326 unsigned BitSize = DL->getTypeSizeInBits(OpTy); in getCallOperandValEVT() local 6327 switch (BitSize) { in getCallOperandValEVT() 6335 OpTy = IntegerType::get(Context, BitSize); in getCallOperandValEVT()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 1653 CharUnits toCharUnitsFromBits(int64_t BitSize) const;
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
| H A D | AMDGPUISelLowering.cpp | 1545 unsigned BitSize = VT.getScalarType().getSizeInBits(); in LowerDIVREM24() local 1554 jq = DAG.getNode(ISD::SRA, DL, VT, jq, DAG.getConstant(BitSize - 2, VT)); in LowerDIVREM24()
|