Home
last modified time | relevance | path

Searched refs:Offs (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp54 FileOffset Offs; in insert() local
75 FileOffset Offs; in insertFromRange() local
93 FileOffset Offs; in remove() local
121 FileOffset Offs; in replace() local
123 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { in replace()
171 FileOffset Offs; in replaceText() local
178 addRemove(loc, Offs, Len); in replaceText()
191 data.Offset = Offs; in addInsert()
206 data.Offset = Offs; in addInsertFromRange()
221 data.Offset = Offs; in addRemove()
[all …]
H A DEditedSource.cpp75 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
76 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset()
78 if (FA->first != Offs) in canInsertInOffset()
113 FileOffset Offs, StringRef text, in commitInsert() argument
115 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
128 FileEdit &FA = FileEdits[Offs]; in commitInsert()
143 FileOffset Offs, in commitInsertFromRange() argument
197 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange()
469 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument
470 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/
H A DFileOffset.h21 unsigned Offs = 0; variable
25 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} in FileOffset()
30 unsigned getOffset() const { return Offs; } in getOffset()
34 NewOffs.Offs += offset; in getWithOffset()
39 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs;
47 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
H A DCommit.h127 FileOffset Offs, StringRef text, bool beforePreviousInsertions);
128 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
131 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
136 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
137 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len);
139 FileOffset &Offs, unsigned &Len);
H A DEditedSource.h85 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
96 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
98 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
105 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp137 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local
141 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad()
149 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad()
179 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local
183 if (Offs != 1) { in selectIndexedProgMemLoad()
190 if (Offs != 2) { in selectIndexedProgMemLoad()
H A DAVRExpandPseudoInsts.cpp293 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local
295 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand()
504 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
507 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand()
508 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand()
553 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
556 MIBLO.addGlobalAddress(GV, Offs, TF); in expand()
557 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand()
985 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local
988 MIBLO.addGlobalAddress(GV, Offs, TF); in expand()
[all …]
H A DAVRISelLowering.cpp748 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local
751 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode()
761 if (Offs < 0) in isLegalAddressingMode()
762 Offs = -Offs; in isLegalAddressingMode()
763 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) { in isLegalAddressingMode()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManagerInternals.h53 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get()
57 E.FileOffset = Offs; in get()
H A DSourceManager.h1467 unsigned Offs = Loc.getOffset();
1468 if (isOffsetInFileID(FID, Offs)) {
1470 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
/freebsd-12.1/sys/dev/msk/
H A Dif_mskreg.h537 #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-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DEfficiencySanitizer.cpp562 uint64_t Offs; in appToShadow() local
565 Offs = ShadowParams.ShadowOffs[Scale]; in appToShadow()
567 Offs = ShadowParams.ShadowOffs[0] << Scale; in appToShadow()
568 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs)); in appToShadow()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp2496 unsigned Offs; in mapLocationFromPreamble() local
2497 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble()
2500 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2517 unsigned Offs; in mapLocationToPreamble() local
2518 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble()
2519 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble()
2521 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DWriter.cpp98 uint64_t Offs = OS->getFileOff() + (Record->getRVA() - OS->getRVA()); in writeTo() local
100 Record->getRVA(), Offs); in writeTo()
121 uint64_t RVA, uint64_t Offs) const { in fillEntry()
129 D->PointerToRawData = Offs; in fillEntry()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp103 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()
1222 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local
1223 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores()
1225 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores()
1226 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores()
2655 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local
2657 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc64/
H A DABISysV_ppc64.cpp437 uint32_t Offs() const { return m_offs; } in Offs() function in __anon1cbc4b130111::ReturnValueExtractor::Register
867 memcpy(buf, (char *)&raw_data + reg.Offs(), n); in ExtractFromRegs()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h637 unsigned Align = 0, int Offs = 0, bool isT=false,
645 unsigned Align = 0, int Offs = 0, bool isT=false,
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp396 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local
397 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
410 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local
411 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3226 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local
3227 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint()
3230 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
H A DSelectionDAGBuilder.cpp3546 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local
3549 DAG.getConstant(Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorWidth)) : in visitGetElementPtr()
3550 DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr()
3555 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()