| /llvm-project-15.0.7/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 …]
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 975 if (Offs->getOpcode() != Instruction::Add && !isAddLikeOr(Offs, *DL) && 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() 1007 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets() 1079 switch (Offs->getOpcode()) { in optimiseOffsets() 1096 Offs->replaceAllUsesWith(NewPhi); in optimiseOffsets() 1097 if (Offs->hasNUses(0)) in optimiseOffsets() [all …]
|
| /llvm-project-15.0.7/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() 180 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 184 if (Offs == 1) in selectIndexedProgMemLoad() 188 if (Offs == 2) in selectIndexedProgMemLoad()
|
| H A D | AVRExpandPseudoInsts.cpp | 315 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 317 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 570 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 573 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 574 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 621 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 624 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 625 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 1031 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local 1034 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() [all …]
|
| H A D | AVRISelLowering.cpp | 904 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local 907 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 917 if (Offs < 0) in isLegalAddressingMode() 918 Offs = -Offs; in isLegalAddressingMode() 920 isUInt<6>(Offs)) { in isLegalAddressingMode()
|
| /llvm-project-15.0.7/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 | 1539 SourceLocation::UIntTy Offs = Loc.getOffset(); 1540 if (isOffsetInFileID(FID, Offs)) { 1542 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 2500 unsigned Offs; in mapLocationFromPreamble() local 2501 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble() 2504 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2521 unsigned Offs; in mapLocationToPreamble() local 2522 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2523 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble() 2525 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
| /llvm-project-15.0.7/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() 1287 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local 1288 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores() 1290 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores() 1291 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores() 2841 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local 2843 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc64.cpp | 428 uint32_t Offs() const { return m_offs; } in Offs() function in __anonaee447650111::ReturnValueExtractor::Register 859 memcpy(buf, (char *)&raw_data + reg.Offs(), n); in ExtractFromRegs()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 458 unsigned short Offs = TRI.getSubRegIdxOffset(SpillSubReg); in getLocID() local 459 return getLocID(Spill, {Size, Offs}); in getLocID()
|
| H A D | InstrRefBasedImpl.cpp | 725 unsigned Offs = TRI.getSubRegIdxOffset(I); in MLocTracker() local 730 if (Size > 60000 || Offs > 60000) in MLocTracker() 733 StackSlotIdxes.insert({{Size, Offs}, Idx}); in MLocTracker() 1365 StackOffset Offs = TFI->getFrameIndexReference(*MI.getMF(), FI, Base); in transferDebugPHI() local 1366 SpillLoc SL = {Base, Offs}; in transferDebugPHI()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 712 int Offs = 0, bool isT = false, 720 MaybeAlign Align = None, int Offs = 0,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 356 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local 357 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal() 371 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local 372 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 3907 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local 3912 Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorElementCount)); in visitGetElementPtr() 3914 OffsVal = DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr() 3919 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()
|