Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/Edit/
H A DCommit.cpp53 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 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 …]
/netbsd/external/apache2/llvm/dist/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);
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp895 if (Offs->getOpcode() != Instruction::Add && in optimiseOffsets()
896 Offs->getOpcode() != Instruction::Mul) in optimiseOffsets()
901 if (!Offs->hasOneUse()) { in optimiseOffsets()
902 if (!hasAllGatScatUsers(Offs)) in optimiseOffsets()
910 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets()
911 Phi = cast<PHINode>(Offs->getOperand(0)); in optimiseOffsets()
914 Phi = cast<PHINode>(Offs->getOperand(1)); in optimiseOffsets()
1009 switch (Offs->getOpcode()) { in optimiseOffsets()
1024 Offs->replaceAllUsesWith(NewPhi); in optimiseOffsets()
1025 if (Offs->hasNUses(0)) in optimiseOffsets()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.h50 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp136 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 DAVRExpandPseudoInsts.cpp294 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local
296 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand()
543 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
546 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand()
547 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand()
592 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local
595 MIBLO.addGlobalAddress(GV, Offs, TF); in expand()
596 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand()
1024 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local
1027 MIBLO.addGlobalAddress(GV, Offs, TF); in expand()
[all …]
H A DAVRISelLowering.cpp850 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local
853 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode()
863 if (Offs < 0) in isLegalAddressingMode()
864 Offs = -Offs; in isLegalAddressingMode()
865 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) { in isLegalAddressingMode()
/netbsd/external/apache2/llvm/dist/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.h1520 unsigned Offs = Loc.getOffset();
1521 if (isOffsetInFileID(FID, Offs)) {
1523 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp2497 unsigned Offs; in mapLocationFromPreamble() local
2498 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble()
2501 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2518 unsigned Offs; in mapLocationToPreamble() local
2519 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble()
2520 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble()
2522 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
/netbsd/external/apache2/llvm/dist/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()
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 …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h697 int Offs = 0, bool isT = false,
705 MaybeAlign Align = None, int Offs = 0,
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp329 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local
330 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
343 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local
344 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3899 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr() local
3904 Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorElementCount)); in visitGetElementPtr()
3906 OffsVal = DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr()
3911 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds()) in visitGetElementPtr()