/minix/external/bsd/llvm/dist/clang/lib/Edit/ |
H A D | Commit.cpp | 48 FileOffset Offs; in insert() local 69 FileOffset Offs; in insertFromRange() local 87 FileOffset Offs; in remove() local 115 FileOffset Offs; in replace() local 117 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { in replace() 165 FileOffset Offs; in replaceText() local 172 addRemove(loc, Offs, Len); in replaceText() 185 data.Offset = Offs; in addInsert() 200 data.Offset = Offs; in addInsertFromRange() 215 data.Offset = Offs; in addRemove() [all …]
|
H A D | EditedSource.cpp | 31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 32 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 34 if (FA->first != Offs) in canInsertInOffset() 54 FileOffset Offs, StringRef text, in commitInsert() argument 56 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 69 FileEdit &FA = FileEdits[Offs]; in commitInsert() 84 FileOffset Offs, in commitInsertFromRange() argument 138 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); in commitInsertFromRange() 392 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 393 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset() [all …]
|
/minix/external/bsd/llvm/dist/clang/include/clang/Edit/ |
H A D | FileOffset.h | 21 unsigned Offs; variable 23 FileOffset() : Offs(0) { } in FileOffset() 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; 44 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
|
H A D | Commit.h | 115 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 125 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 127 FileOffset &Offs, unsigned &Len);
|
H A D | EditedSource.h | 58 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 73 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 75 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 82 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/ |
H A D | SourceManagerInternals.h | 49 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() 53 E.FileOffset = Offs; in get()
|
H A D | SourceManager.h | 1344 unsigned Offs = Loc.getOffset(); 1345 if (isOffsetInFileID(FID, Offs)) { 1347 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
/minix/external/bsd/llvm/dist/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1207 unsigned Offs = 0; in ComputeLineNumbers() local 1248 Offs += NextBuf-Buf; in ComputeLineNumbers() 1254 ++Offs, ++Buf; in ComputeLineNumbers() 1255 ++Offs, ++Buf; in ComputeLineNumbers() 1256 LineOffsets.push_back(Offs); in ComputeLineNumbers() 1261 ++Offs, ++Buf; in ComputeLineNumbers()
|
/minix/external/bsd/llvm/dist/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2670 unsigned Offs; in mapLocationFromPreamble() local 2671 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { in mapLocationFromPreamble() 2674 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2691 unsigned Offs; in mapLocationToPreamble() local 2692 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2693 Offs < Preamble.size()) { in mapLocationToPreamble() 2695 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 1902 if (unsigned Offs = ArgI.getDirectOffset()) { in EmitFunctionProlog() local 1904 Ptr = Builder.CreateConstGEP1_32(Ptr, Offs); in EmitFunctionProlog() 2297 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitFunctionEpilog() local 2299 V = Builder.CreateConstGEP1_32(V, Offs); in EmitFunctionEpilog() 3159 if (unsigned Offs = ArgInfo.getDirectOffset()) { in EmitCall() local 3161 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs); in EmitCall() 3414 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitCall() local 3416 StorePtr = Builder.CreateConstGEP1_32(StorePtr, Offs); in EmitCall()
|
H A D | MicrosoftCXXABI.cpp | 967 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local 968 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores() 970 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores() 972 CGF.Builder.CreateConstInBoundsGEP1_64(ThisInt8Ptr, Offs.getQuantity()); in EmitVBPtrStores() 2060 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local 2062 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer() 2063 fields.push_back(llvm::ConstantInt::get(CGM.IntTy, Offs.getQuantity())); in EmitFullMemberPointer()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 476 unsigned Align = 0, int Offs = 0, bool isT=false, 484 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 454 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local 455 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal() 468 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local 469 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2160 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local 2161 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint() 2164 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
|
H A D | SelectionDAGBuilder.cpp | 3410 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(PtrSize); in visitGetElementPtr() local 3411 SDValue OffsVal = DAG.getConstant(Offs, PtrTy); in visitGetElementPtr()
|