| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | Commit.cpp | 53 FileOffset Offs; in insert() local 74 FileOffset Offs; in insertFromRange() local 92 FileOffset Offs; in remove() local 120 FileOffset Offs; in replace() local 122 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { in replace() 170 FileOffset Offs; in replaceText() local 177 addRemove(loc, Offs, Len); in replaceText() 190 data.Offset = Offs; in addInsert() 205 data.Offset = Offs; in addInsertFromRange() 220 data.Offset = Offs; in addRemove() [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 …]
|
| /freebsd-13.1/contrib/llvm-project/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);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMachineFunctionInfo.h | 50 void setSpillGPRRegs(Register Low, Register High, unsigned Offs) { in setSpillGPRRegs() argument 53 SpillGPRRegs.GPROffset = Offs; in setSpillGPRRegs() 60 void setRestoreGPRRegs(Register Low, Register High, unsigned Offs) { in setRestoreGPRRegs() argument 63 RestoreGPRRegs.GPROffset = Offs; in setRestoreGPRRegs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 959 Offs->getOpcode() != Instruction::Mul) in optimiseOffsets() 964 if (!Offs->hasOneUse()) { in optimiseOffsets() 965 if (!hasAllGatScatUsers(Offs)) in optimiseOffsets() 973 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets() 974 Phi = cast<PHINode>(Offs->getOperand(0)); in optimiseOffsets() 977 Phi = cast<PHINode>(Offs->getOperand(1)); in optimiseOffsets() 989 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets() 1061 switch (Offs->getOpcode()) { in optimiseOffsets() 1076 Offs->replaceAllUsesWith(NewPhi); in optimiseOffsets() 1077 if (Offs->hasNUses(0)) in optimiseOffsets() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRISelDAGToDAG.cpp | 136 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local 140 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad() 148 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad() 178 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 182 if (Offs != 1) { in selectIndexedProgMemLoad() 189 if (Offs != 2) { in selectIndexedProgMemLoad()
|
| H A D | AVRExpandPseudoInsts.cpp | 306 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 308 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 555 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 558 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 559 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 604 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 607 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 608 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 1040 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local 1043 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() [all …]
|
| H A D | AVRISelLowering.cpp | 860 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local 863 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 873 if (Offs < 0) in isLegalAddressingMode() 874 Offs = -Offs; in isLegalAddressingMode() 875 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) { in isLegalAddressingMode()
|
| /freebsd-13.1/contrib/llvm-project/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 | 1523 SourceLocation::UIntTy Offs = Loc.getOffset(); 1524 if (isOffsetInFileID(FID, Offs)) { 1526 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
| /freebsd-13.1/sys/dev/msk/ |
| H A D | if_mskreg.h | 537 #define MR_ADDR(Mac, Offs) (((Mac) << 7) + (Offs)) argument 581 #define Q_ADDR(Queue, Offs) (B8_Q_REGS + (Queue) + (Offs)) argument 599 #define Y2_PREF_Q_ADDR(Queue, Offs) (Y2_B8_PREF_REGS + (Queue) + (Offs)) argument 1213 #define RB_ADDR(Queue, Offs) (B16_RAM_REGS + (Queue) + (Offs)) argument
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 2498 unsigned Offs; in mapLocationFromPreamble() local 2499 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble() 2502 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2519 unsigned Offs; in mapLocationToPreamble() local 2520 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2521 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble() 2523 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 103 CharUnits Offs = VBT->NonVirtualOffset; in getVBPtrOffsets() local 104 Offs += SubobjectLayout.getVBPtrOffset(); in getVBPtrOffsets() 106 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in getVBPtrOffsets() 107 VBPtrOffsets.push_back(Offs); in getVBPtrOffsets() 1280 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local 1281 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores() 1283 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores() 1284 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores() 2748 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local 2750 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc64.cpp | 427 uint32_t Offs() const { return m_offs; } in Offs() function in __anon00c983e90111::ReturnValueExtractor::Register 859 memcpy(buf, (char *)&raw_data + reg.Offs(), n); in ExtractFromRegs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 697 int Offs = 0, bool isT = false, 705 MaybeAlign Align = None, int Offs = 0,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 350 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local 351 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal() 365 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local 366 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.cpp | 2031 StackOffset Offs = TFI->getFrameIndexReference(*MI.getMF(), FI, Base); in transferDebugPHI() local 2032 SpillLoc SL = {Base, Offs}; in transferDebugPHI()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 3900 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local 3905 Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorElementCount)); in visitGetElementPtr() 3907 OffsVal = DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr() 3912 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()
|