Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Edit/
H A DFileOffset.h20 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 DCommit.h126 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 DEditedSource.h84 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/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp74 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/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp980 Instruction *Offs = cast<Instruction>(Offsets); in optimiseOffsets() local
981 if (Offs->getOpcode() != Instruction::Add && !isAddLikeOr(Offs, *DL) && in optimiseOffsets()
982 Offs->getOpcode() != Instruction::Mul && in optimiseOffsets()
983 Offs->getOpcode() != Instruction::Shl) in optimiseOffsets()
988 if (!Offs->hasOneUse()) { in optimiseOffsets()
989 if (!hasAllGatScatUsers(Offs, *DL)) in optimiseOffsets()
997 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets()
998 Phi = cast<PHINode>(Offs->getOperand(0)); in optimiseOffsets()
1000 } else if (isa<PHINode>(Offs->getOperand(1))) { in optimiseOffsets()
1001 Phi = cast<PHINode>(Offs->getOperand(1)); in optimiseOffsets()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.h64 void setSpillGPRRegs(Register Low, Register High, unsigned Offs) { in setSpillGPRRegs() argument
67 SpillGPRRegs.GPROffset = Offs; in setSpillGPRRegs()
74 void setRestoreGPRRegs(Register Low, Register High, unsigned Offs) { in setRestoreGPRRegs() argument
77 RestoreGPRRegs.GPROffset = Offs; in setRestoreGPRRegs()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManagerInternals.h52 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get()
56 E.FileOffset = Offs; in get()
H A DSourceManager.h1570 SourceLocation::UIntTy Offs = Loc.getOffset();
1571 if (isOffsetInFileID(FID, Offs)) {
1573 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp157 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local
161 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad()
169 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad()
201 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local
203 if (VT.SimpleTy == MVT::i8 && Offs == 1 && Bank == 0) in selectIndexedProgMemLoad()
H A DAVRExpandPseudoInsts.cpp326 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local
328 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand()
329 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_HI); in expand()
582 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
585 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand()
586 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand()
633 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
636 MIBLO.addGlobalAddress(GV, Offs, TF); in expand()
637 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand()
1094 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local
[all …]
H A DAVRISelLowering.cpp1045 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local
1048 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode()
1058 if (Offs < 0) in isLegalAddressingMode()
1059 Offs = -Offs; in isLegalAddressingMode()
1061 isUInt<6>(Offs)) { in isLegalAddressingMode()
/freebsd/sys/dev/msk/
H A Dif_mskreg.h536 #define MR_ADDR(Mac, Offs) (((Mac) << 7) + (Offs)) argument
580 #define Q_ADDR(Queue, Offs) (B8_Q_REGS + (Queue) + (Offs)) argument
598 #define Y2_PREF_Q_ADDR(Queue, Offs) (Y2_B8_PREF_REGS + (Queue) + (Offs)) argument
1212 #define RB_ADDR(Queue, Offs) (B16_RAM_REGS + (Queue) + (Offs)) argument
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2546 unsigned Offs; in mapLocationFromPreamble() local
2547 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble()
2550 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2567 unsigned Offs; in mapLocationToPreamble() local
2568 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble()
2569 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble()
2571 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp108 CharUnits Offs = VBT->NonVirtualOffset; in getVBPtrOffsets() local
109 Offs += SubobjectLayout.getVBPtrOffset(); in getVBPtrOffsets()
111 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in getVBPtrOffsets()
112 VBPtrOffsets.push_back(Offs); in getVBPtrOffsets()
1332 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local
1333 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores()
1335 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores()
1336 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores()
2876 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local
2878 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp429 uint32_t Offs() const { return m_offs; } in Offs() function in __anon31ea58350111::ReturnValueExtractor::Register
862 memcpy(buf, (char *)&raw_data + reg.Offs(), n); in ExtractFromRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h810 unsigned short Offs = TRI.getSubRegIdxOffset(SpillSubReg);
811 return getLocID(Spill, {Size, Offs});
H A DInstrRefBasedImpl.cpp1058 unsigned Offs = TRI.getSubRegIdxOffset(I); in MLocTracker() local
1063 if (Size > 60000 || Offs > 60000) in MLocTracker()
1066 StackSlotIdxes.insert({{Size, Offs}, Idx}); in MLocTracker()
1804 StackOffset Offs = TFI->getFrameIndexReference(*MI.getMF(), FI, Base); in transferDebugPHI() local
1805 SpillLoc SL = {Base, Offs}; in transferDebugPHI()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp639 SmallVector<Constant *> Offs; in materializeBufferFatPtrConst() local
646 Offs.push_back(Off); in materializeBufferFatPtrConst()
649 Constant *OffVec = ConstantVector::get(Offs); in materializeBufferFatPtrConst()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h749 MaybeAlign Align = std::nullopt, int Offs = 0,
757 MaybeAlign Align = std::nullopt, int Offs = 0,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp373 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local
374 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
388 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local
389 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4350 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local
4355 Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorElementCount)); in visitGetElementPtr()
4357 OffsVal = DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr()
4362 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()