| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | Commit.cpp | 53 FileOffset Offs; in insert() local 54 if ((!afterToken && !canInsert(loc, Offs)) || in insert() 55 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insert() 60 addInsert(loc, Offs, text, beforePreviousInsertions); in insert() 74 FileOffset Offs; in insertFromRange() local 75 if ((!afterToken && !canInsert(loc, Offs)) || in insertFromRange() 76 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insertFromRange() 87 addInsertFromRange(loc, Offs, RangeOffs, RangeLen, beforePreviousInsertions); in insertFromRange() 92 FileOffset Offs; in remove() local 94 if (!canRemoveRange(range, Offs, Len)) { in remove() [all …]
|
| H A D | EditedSource.cpp | 74 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 75 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 77 if (FA->first != Offs) in canInsertInOffset() 112 FileOffset Offs, StringRef text, in commitInsert() argument 114 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 127 FileEdit &FA = FileEdits[Offs]; in commitInsert() 142 FileOffset Offs, in commitInsertFromRange() argument 196 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange() 468 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 469 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Edit/ |
| H A D | FileOffset.h | 20 unsigned Offs = 0; variable 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} in FileOffset() 29 unsigned getOffset() const { return Offs; } in getOffset() 33 NewOffs.Offs += offset; in getWithOffset() 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 46 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
|
| H A D | Commit.h | 126 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 127 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 130 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 135 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 136 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 138 FileOffset &Offs, unsigned &Len);
|
| H A D | EditedSource.h | 84 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 95 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 97 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 104 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMachineFunctionInfo.h | 53 void setSpillGPRRegs(Register Low, Register High, unsigned Offs) { in setSpillGPRRegs() argument 56 SpillGPRRegs.GPROffset = Offs; in setSpillGPRRegs() 63 void setRestoreGPRRegs(Register Low, Register High, unsigned Offs) { in setRestoreGPRRegs() argument 66 RestoreGPRRegs.GPROffset = Offs; in setRestoreGPRRegs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 974 Instruction *Offs = cast<Instruction>(Offsets); in optimiseOffsets() local 975 if (Offs->getOpcode() != Instruction::Add && !isAddLikeOr(Offs, *DL) && in optimiseOffsets() 976 Offs->getOpcode() != Instruction::Mul && in optimiseOffsets() 977 Offs->getOpcode() != Instruction::Shl) in optimiseOffsets() 982 if (!Offs->hasOneUse()) { in optimiseOffsets() 983 if (!hasAllGatScatUsers(Offs, *DL)) in optimiseOffsets() 991 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets() 992 Phi = cast<PHINode>(Offs->getOperand(0)); in optimiseOffsets() 994 } else if (isa<PHINode>(Offs->getOperand(1))) { in optimiseOffsets() 995 Phi = cast<PHINode>(Offs->getOperand(1)); in optimiseOffsets() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceManagerInternals.h | 52 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() 56 E.FileOffset = Offs; in get()
|
| H A D | SourceManager.h | 1544 SourceLocation::UIntTy Offs = Loc.getOffset(); 1545 if (isOffsetInFileID(FID, Offs)) { 1547 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AVR/ |
| H A D | AVRISelDAGToDAG.cpp | 145 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local 149 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad() 157 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad() 189 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 191 if (VT.SimpleTy == MVT::i8 && Offs == 1 && Bank == 0) in selectIndexedProgMemLoad()
|
| H A D | AVRExpandPseudoInsts.cpp | 303 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 305 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 306 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_HI); in expand() 559 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 562 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 563 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 610 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 613 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 614 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 986 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local [all …]
|
| H A D | AVRISelLowering.cpp | 1011 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local 1014 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 1024 if (Offs < 0) in isLegalAddressingMode() 1025 Offs = -Offs; in isLegalAddressingMode() 1027 isUInt<6>(Offs)) { in isLegalAddressingMode()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 2527 unsigned Offs; in mapLocationFromPreamble() local 2528 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble() 2531 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2548 unsigned Offs; in mapLocationToPreamble() local 2549 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2550 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble() 2552 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 107 CharUnits Offs = VBT->NonVirtualOffset; in getVBPtrOffsets() local 108 Offs += SubobjectLayout.getVBPtrOffset(); in getVBPtrOffsets() 110 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in getVBPtrOffsets() 111 VBPtrOffsets.push_back(Offs); in getVBPtrOffsets() 1292 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local 1293 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores() 1295 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores() 1296 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores() 2854 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local 2856 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc64.cpp | 429 uint32_t Offs() const { return m_offs; } in Offs() function in __anondf7718cc0111::ReturnValueExtractor::Register 859 memcpy(buf, (char *)&raw_data + reg.Offs(), n); in ExtractFromRegs()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 733 unsigned short Offs = TRI.getSubRegIdxOffset(SpillSubReg); 734 return getLocID(Spill, {Size, Offs});
|
| H A D | InstrRefBasedImpl.cpp | 1026 unsigned Offs = TRI.getSubRegIdxOffset(I); in MLocTracker() local 1031 if (Size > 60000 || Offs > 60000) in MLocTracker() 1034 StackSlotIdxes.insert({{Size, Offs}, Idx}); in MLocTracker() 1776 StackOffset Offs = TFI->getFrameIndexReference(*MI.getMF(), FI, Base); in transferDebugPHI() local 1777 SpillLoc SL = {Base, Offs}; in transferDebugPHI()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 731 MaybeAlign Align = std::nullopt, int Offs = 0, 739 MaybeAlign Align = std::nullopt, int Offs = 0,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 357 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local 358 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal() 372 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local 373 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 3963 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local 3968 Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorElementCount)); in visitGetElementPtr() 3970 OffsVal = DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr() 3975 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()
|