/netbsd/external/apache2/llvm/dist/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 …]
|
/netbsd/external/apache2/llvm/dist/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);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 895 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 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()
|
/netbsd/external/apache2/llvm/dist/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 | 294 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 D | AVRISelLowering.cpp | 850 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 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 | 1520 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 D | ASTUnit.cpp | 2497 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 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 …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 697 int Offs = 0, bool isT = false, 705 MaybeAlign Align = None, int Offs = 0,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 329 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 D | SelectionDAGBuilder.cpp | 3899 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()
|