| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Base64.cpp | 55 for (uint64_t ByteOffset = 0; ByteOffset < 4; ++ByteOffset) { in decodeBase64() local 56 const uint64_t ByteIdx = Idx + ByteOffset; in decodeBase64() 75 Hex64Bytes[ByteOffset] = DecodedByte; in decodeBase64()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 93 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() local 104 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1; in splitGlobal() 111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
|
| H A D | WholeProgramDevirt.cpp | 327 uint64_t ByteOffset; member 345 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 349 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 364 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 368 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 613 uint64_t ByteOffset, 739 uint64_t ByteOffset); 877 auto WPDRes = TIdSum->WPDRes.find(SlotSummary.ByteOffset); in updateIndexWPDForExports() 993 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset, in tryFindVirtualCallTargets() argument 1006 TM.Offset + ByteOffset, M); in tryFindVirtualCallTargets() [all …]
|
| H A D | LowerTypeTests.cpp | 127 if (Offset < ByteOffset) in containsGlobalOffset() 130 if ((Offset - ByteOffset) % (uint64_t(1) << AlignLog2) != 0) in containsGlobalOffset() 133 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() 141 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 171 BSI.ByteOffset = Min; in build() 1115 Int8Ty, CombinedGlobalAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)), in lowerTypeTestCalls()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 43 size_t ByteOffset; member 118 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 144 return DWARFBytes.size() - Entries[EI].ByteOffset; in getNumBytes() 145 return Entries[EI + 1].ByteOffset - Entries[EI].ByteOffset; in getNumBytes()
|
| H A D | DebugLocStream.cpp | 28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/ |
| H A D | Target.cpp | 604 size_t ByteOffset = 0; in initStack() local 605 for (; Bytes - ByteOffset >= 4; ByteOffset += 4) in initStack() 607 X86::MOV32mi, ByteOffset, in initStack() 608 WideConstant.extractBits(32, ByteOffset * 8).getZExtValue())); in initStack() 609 if (Bytes - ByteOffset >= 2) { in initStack() 611 X86::MOV16mi, ByteOffset, in initStack() 612 WideConstant.extractBits(16, ByteOffset * 8).getZExtValue())); in initStack() 613 ByteOffset += 2; in initStack() 615 if (Bytes - ByteOffset >= 1) in initStack() 617 X86::MOV8mi, ByteOffset, in initStack() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ArrayBoundCheckerV2.cpp | 208 SVal ByteOffset = rawOffset.getByteOffset(); in checkLocation() local 209 if (isTainted(state, ByteOffset)) { in checkLocation() 211 std::make_unique<TaintBugVisitor>(ByteOffset)); in checkLocation()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 2510 static bool isDwordAligned(uint64_t ByteOffset) { in isDwordAligned() argument 2511 return (ByteOffset & 3) == 0; in isDwordAligned() 2515 uint64_t ByteOffset) { in convertSMRDOffsetUnits() argument 2517 return ByteOffset; in convertSMRDOffsetUnits() 2519 assert(isDwordAligned(ByteOffset)); in convertSMRDOffsetUnits() 2520 return ByteOffset >> 2; in convertSMRDOffsetUnits() 2524 int64_t ByteOffset, bool IsBuffer) { in getSMRDEncodedOffset() argument 2528 return isInt<20>(ByteOffset) ? std::optional<int64_t>(ByteOffset) in getSMRDEncodedOffset() 2532 if (!isDwordAligned(ByteOffset) && !hasSMEMByteOffset(ST)) in getSMRDEncodedOffset() 2535 int64_t EncodedOffset = convertSMRDOffsetUnits(ST, ByteOffset); in getSMRDEncodedOffset() [all …]
|
| H A D | AMDGPUBaseInfo.h | 1258 uint64_t convertSMRDOffsetUnits(const MCSubtargetInfo &ST, uint64_t ByteOffset); 1265 int64_t ByteOffset, bool IsBuffer); 1270 int64_t ByteOffset); 1283 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 421 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument 423 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal() 439 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 440 int n = ByteOffset; in ReadDataFromGlobal() 444 ++ByteOffset; in ReadDataFromGlobal() 452 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 456 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 460 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 467 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal() 469 ByteOffset -= CurEltOffset; in ReadDataFromGlobal() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
| H A D | LowerTypeTests.h | 38 uint64_t ByteOffset; member
|
| H A D | WholeProgramDevirt.h | 240 uint64_t ByteOffset; member
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 1071 int64_t ByteOffset = C->getSExtValue(); in SelectDS1Addr1Offset() local 1072 if (isDSOffsetLegal(SDValue(), ByteOffset)) { in SelectDS1Addr1Offset() 1081 if (isDSOffsetLegal(Sub, ByteOffset)) { in SelectDS1Addr1Offset() 1098 Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16); in SelectDS1Addr1Offset() 1907 int64_t ByteOffset = IsBuffer ? C->getZExtValue() : C->getSExtValue(); in SelectSMRDOffset() local 1909 AMDGPU::getSMRDEncodedOffset(*Subtarget, ByteOffset, IsBuffer); in SelectSMRDOffset() 1916 if (ByteOffset < 0) in SelectSMRDOffset() 1919 EncodedOffset = AMDGPU::getSMRDEncodedLiteralOffset32(*Subtarget, ByteOffset); in SelectSMRDOffset() 1925 if (!isUInt<32>(ByteOffset) && !isInt<32>(ByteOffset)) in SelectSMRDOffset() 1929 SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32); in SelectSMRDOffset()
|
| H A D | R600ISelLowering.cpp | 518 uint32_t ByteOffset = getImplicitParameterOffset(MF, FIRST_IMPLICIT); in LowerOperation() local 519 return DAG.getConstant(ByteOffset, DL, PtrVT); in LowerOperation() 767 unsigned ByteOffset = DwordOffset * 4; in LowerImplicitParameter() local 772 assert(isInt<16>(ByteOffset)); in LowerImplicitParameter() 775 DAG.getConstant(ByteOffset, DL, MVT::i32), // PTR in LowerImplicitParameter()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 2548 int ByteOffset = AFI->getCalleeSavedStackSize(); in computeCalleeSaveRegisterPairs() local 2554 ByteOffset = 0; in computeCalleeSaveRegisterPairs() 2645 int OffsetPre = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs() 2651 ByteOffset += StackFillDir * (RPI.isPaired() ? 2 * Scale : Scale); in computeCalleeSaveRegisterPairs() 2657 ByteOffset += StackFillDir * 8; in computeCalleeSaveRegisterPairs() 2666 !RPI.isPaired() && ByteOffset % 16 != 0) { in computeCalleeSaveRegisterPairs() 2667 ByteOffset += 8 * StackFillDir; in computeCalleeSaveRegisterPairs() 2676 int OffsetPost = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 4203 SDValue ByteOffset = DAG.getNode(ISD::SRL, dl, ShAmtVT, ShAmt, in ExpandIntRes_ShiftThroughStack() local 4207 ByteOffset = DAG.getNode(ISD::AND, dl, ShAmtVT, ByteOffset, in ExpandIntRes_ShiftThroughStack() 4224 ByteOffset = DAG.getNegative(ByteOffset, dl, ShAmtVT); in ExpandIntRes_ShiftThroughStack() 4228 ByteOffset = DAG.getSExtOrTrunc(ByteOffset, dl, PtrTy); in ExpandIntRes_ShiftThroughStack() 4229 AdjStackPtr = DAG.getMemBasePlusOffset(AdjStackPtr, ByteOffset, dl); in ExpandIntRes_ShiftThroughStack()
|
| H A D | LegalizeDAG.cpp | 1568 unsigned ByteOffset = (NumBits / 8) - 1; in getSignAsIntValue() local 1570 DAG.getMemBasePlusOffset(StackPtr, TypeSize::Fixed(ByteOffset), DL); in getSignAsIntValue() 1572 ByteOffset); in getSignAsIntValue()
|
| H A D | DAGCombiner.cpp | 7910 unsigned ByteOffset = 0; member 7915 static ByteProvider getMemory(LoadSDNode *Load, unsigned ByteOffset, in getMemory() 7917 return ByteProvider(Load, ByteOffset, VectorOffset); in getMemory() 7926 return Other.Load == Load && Other.ByteOffset == ByteOffset && in operator ==() 7931 ByteProvider(LoadSDNode *Load, unsigned ByteOffset, unsigned VectorOffset) in ByteProvider() 7932 : Load(Load), ByteOffset(ByteOffset), VectorOffset(VectorOffset) {} in ByteProvider() 8408 ? bigEndianByteAt(LoadByteWidth, P.ByteOffset) in MatchLoadCombine() 8409 : littleEndianByteAt(LoadByteWidth, P.ByteOffset); in MatchLoadCombine()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 1283 unsigned ByteOffset = in emitValueImpl() local 1285 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 2254 unsigned ByteOffset = 0; in getAsmSrcLocInfo() local 2261 i + 1, SM, LangOpts, CGF.getTarget(), &StartToken, &ByteOffset); in getAsmSrcLocInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 4089 unsigned ByteOffset = Offset / 8; in reduceLoadStoreWidth() local 4092 MIRBuilder.materializePtrAdd(NewAddrReg, AddrReg, OffsetTy, ByteOffset); in reduceLoadStoreWidth() 4095 MF.getMachineMemOperand(&MMO, ByteOffset, PartTy); in reduceLoadStoreWidth()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 9262 static bool findEltLoadSrc(SDValue Elt, LoadSDNode *&Ld, int64_t &ByteOffset) { in findEltLoadSrc() argument 9268 ByteOffset = 0; in findEltLoadSrc() 9276 return findEltLoadSrc(Elt.getOperand(0), Ld, ByteOffset); in findEltLoadSrc() 9280 if ((Amt % 8) == 0 && findEltLoadSrc(Elt.getOperand(0), Ld, ByteOffset)) { in findEltLoadSrc() 9281 ByteOffset += Amt / 8; in findEltLoadSrc() 9292 findEltLoadSrc(Src, Ld, ByteOffset)) { in findEltLoadSrc() 9294 ByteOffset += Idx * (SrcSizeInBits / 8); in findEltLoadSrc() 9389 int64_t ByteOffset = ByteOffsets[EltIdx]; in EltsFromConsecutiveLoads() local 9390 if (ByteOffset && (ByteOffset % BaseSizeInBytes) == 0) { in EltsFromConsecutiveLoads() 9391 int64_t BaseIdx = EltIdx - (ByteOffset / BaseSizeInBytes); in EltsFromConsecutiveLoads()
|