Searched refs:Loc (Results 1 - 25 of 94) sorted by relevance

1234

/macosx-10.9.5/llvmCore-3425.0.33/lib/TableGen/
H A DError.cpp23 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, argument
26 if (Loc.empty())
27 Loc = NullLoc;
28 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
29 for (unsigned i = 1; i < Loc.size(); ++i)
30 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
38 void PrintWarning(const char *Loc, const Twine &Msg) { argument
39 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
54 void PrintError(const char *Loc, const Twine &Msg) { argument
55 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMg
[all...]
H A DTGParser.h38 SMLoc Loc; member in struct:llvm::LetRecord
41 : Name(N), Bits(B), Value(V), Loc(L) {
104 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
105 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
107 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, argument
109 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V);
126 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc);
127 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/
H A DMCFixup.h75 SMLoc Loc; member in class:llvm::MCFixup
78 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
84 FI.Loc = Loc;
107 SMLoc getLoc() const { return Loc; }
H A DMCTargetAsmParser.h38 SMLoc Loc; member in struct:llvm::AsmRewrite
43 : Kind(kind), Loc(loc), Len(len), Val(val) {}
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DLibCallAliasAnalysis.cpp47 const Location &Loc) {
69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
121 const Location &Loc) {
129 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc));
136 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc));
45 AnalyzeLibCallDetails(const LibCallFunctionInfo *FI, ImmutableCallSite CS, const Location &Loc) argument
120 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DNoAliasAnalysis.cpp53 virtual bool pointsToConstantMemory(const Location &Loc, argument
58 const Location &Loc) {
57 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DAliasAnalysis.cpp56 bool AliasAnalysis::pointsToConstantMemory(const Location &Loc, argument
59 return AA->pointsToConstantMemory(Loc, OrLocal);
80 const Location &Loc) {
101 if (!isNoAlias(CSLoc, Loc)) {
111 // If Loc is a constant memory location, the call definitely could not
113 if ((Mask & Mod) && pointsToConstantMemory(Loc))
121 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask);
287 AliasAnalysis::getModRefInfo(const LoadInst *L, const Location &Loc) { argument
294 if (!alias(getLocation(L), Loc))
302 AliasAnalysis::getModRefInfo(const StoreInst *S, const Location &Loc) { argument
79 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
322 getModRefInfo(const VAArgInst *V, const Location &Loc) argument
338 getModRefInfo(const AtomicCmpXchgInst *CX, const Location &Loc) argument
351 getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc) argument
476 canBasicBlockModify(const BasicBlock &BB, const Location &Loc) argument
486 canInstructionRangeModify(const Instruction &I1, const Instruction &I2, const Location &Loc) argument
[all...]
H A DTypeBasedAliasAnalysis.cpp144 virtual bool pointsToConstantMemory(const Location &Loc, bool OrLocal);
148 const Location &Loc);
233 bool TypeBasedAliasAnalysis::pointsToConstantMemory(const Location &Loc, argument
236 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
238 const MDNode *M = Loc.TBAATag;
239 if (!M) return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
246 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
273 const Location &Loc) {
275 return AliasAnalysis::getModRefInfo(CS, Loc);
277 if (const MDNode *L = Loc
272 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
[all...]
H A DAliasAnalysisCounter.cpp101 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) { argument
102 return getAnalysis<AliasAnalysis>().pointsToConstantMemory(Loc, OrLocal);
110 const Location &Loc);
153 const Location &Loc) {
154 ModRefResult R = getAnalysis<AliasAnalysis>().getModRefInfo(CS, Loc);
166 errs() << "[" << Loc.Size << "B] ";
167 WriteAsOperand(errs(), Loc.Ptr, true, M);
152 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DAliasDebugger.cpp106 const Location &Loc) {
107 assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
108 return AliasAnalysis::getModRefInfo(CS, Loc);
116 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) { argument
117 assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
118 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
105 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DMemoryDependenceAnalysis.cpp115 /// location, fill in Loc with the details, otherwise set Loc.Ptr to null.
120 AliasAnalysis::Location &Loc,
124 Loc = AA->getLocation(LI);
127 Loc = AA->getLocation(LI);
130 Loc = AliasAnalysis::Location();
136 Loc = AA->getLocation(SI);
139 Loc = AA->getLocation(SI);
142 Loc = AliasAnalysis::Location();
147 Loc
119 GetLocation(const Instruction *Inst, AliasAnalysis::Location &Loc, AliasAnalysis *AA) argument
207 AliasAnalysis::Location Loc; local
750 getNonLocalPointerDependency(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *FromBB, SmallVectorImpl<NonLocalDepResult> &Result) argument
778 GetNonLocalInfoForBlock(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument
892 getNonLocalPointerDepFromBB(const PHITransAddr &Pointer, const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *StartBB, SmallVectorImpl<NonLocalDepResult> &Result, DenseMap<BasicBlock*, Value*> &Visited, bool SkipFirstBlock) argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/AsmParser/
H A DLLParser.h59 LLLexer::LocTy Loc; member in struct:llvm::ValID
104 SMLoc Loc; member in struct:llvm::LLParser::MDRef
147 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
148 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc);
157 bool ParseOptionalToken(lltok::Kind T, bool &Present, LocTy *Loc = 0) {
161 if (Loc)
162 *Loc = Lex.getLoc();
170 bool ParseUInt32(unsigned &Val, LocTy &Loc) { argument
171 Loc = Lex.getLoc();
213 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigne
224 ParseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) argument
286 ParseValue(Type *Ty, Value *&V, LocTy &Loc, PerFunctionState &PFS) argument
296 ParseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) argument
303 LocTy Loc; local
309 LocTy Loc; member in struct:llvm::LLParser::ParamInfo
330 LocTy Loc; member in struct:llvm::LLParser::ArgInfo
[all...]
H A DLLParser.cpp60 return Error(MDList[i].Loc, "use of undefined metadata '!" +
81 return Error(Fn.Loc, "unknown function referenced by blockaddress");
134 Res = PFS->GetBB(Refs[i].first.StrVal, Refs[i].first.Loc);
136 Res = PFS->GetBB(Refs[i].first.UIntVal, Refs[i].first.Loc);
138 return Error(Refs[i].first.Loc,
146 return Error(Refs[i].first.Loc,
748 LocTy Loc) {
751 Error(Loc, "global variable reference must have pointer type");
771 Error(Loc, "'@" + Name + "' defined with type '" +
784 ForwardRefVals[Name] = std::make_pair(FwdVal, Loc);
747 GetGlobalVal(const std::string &Name, Type *Ty, LocTy Loc) argument
788 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DSourceMgr.cpp72 int SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
74 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
77 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
85 SourceMgr::getLineAndColumn(SMLoc Loc, int BufferID) const { argument
86 if (BufferID == -1) BufferID = FindBufferContainingLoc(Loc);
103 Cache->LastQuery <= Loc.getPointer()) {
110 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
147 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, argument
158 if (Loc.isValid()) {
159 int CurBuf = FindBufferContainingLoc(Loc);
208 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, bool ShowColors) const argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/
H A DAliasAnalysis.h142 /// getLocation - Fill in Loc with information about the memory reference by
216 virtual bool pointsToConstantMemory(const Location &Loc,
354 const Location &Loc) {
356 case Instruction::VAArg: return getModRefInfo((const VAArgInst*)I, Loc);
357 case Instruction::Load: return getModRefInfo((const LoadInst*)I, Loc);
358 case Instruction::Store: return getModRefInfo((const StoreInst*)I, Loc);
359 case Instruction::Fence: return getModRefInfo((const FenceInst*)I, Loc);
361 return getModRefInfo((const AtomicCmpXchgInst*)I, Loc);
363 return getModRefInfo((const AtomicRMWInst*)I, Loc);
364 case Instruction::Call: return getModRefInfo((const CallInst*)I, Loc);
353 getModRefInfo(const Instruction *I, const Location &Loc) argument
389 getModRefInfo(const CallInst *C, const Location &Loc) argument
400 getModRefInfo(const InvokeInst *I, const Location &Loc) argument
431 getModRefInfo(const FenceInst *S, const Location &Loc) argument
[all...]
H A DLibCallAliasAnalysis.h41 const Location &Loc);
69 const Location &Loc);
H A DLibCallSemantics.h51 const AliasAnalysis::Location &Loc);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DSourceMgr.h122 int FindBufferContainingLoc(SMLoc Loc) const;
126 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const {
127 return getLineAndColumn(Loc, BufferID).first;
133 getLineAndColumn(SMLoc Loc, int BufferID = -1) const;
140 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
150 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
167 SMLoc Loc;
191 SMLoc getLoc() const { return Loc; }
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/TableGen/
H A DError.h34 void PrintWarning(const char *Loc, const Twine &Msg);
39 void PrintError(const char *Loc, const Twine &Msg);
/macosx-10.9.5/llvmCore-3425.0.33/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp62 DebugLoc Loc) {
66 Result.LineNumber = Loc.getLine();
110 DebugLoc FirstLoc = Details.LineStarts[0].Loc;
135 I->Loc));
140 MDNode *scope = I->Loc.getScope(
59 LineStartToIntelJITFormat( uintptr_t StartAddress, uintptr_t Address, DebugLoc Loc) argument
/macosx-10.9.5/llvmCore-3425.0.33/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp80 uintptr_t Address, DebugLoc Loc) {
83 Result.lineno = Loc.getLine();
85 Loc.getScope(MF.getFunction()->getContext()));
114 DebugLoc FirstLoc = Details.LineStarts[0].Loc;
135 *Details.MF, Filenames, I->Address, I->Loc));
78 LineStartToOProfileFormat( const MachineFunction &MF, FilenameCache &Filenames, uintptr_t Address, DebugLoc Loc) argument
/macosx-10.9.5/llvmCore-3425.0.33/lib/Object/
H A DArchive.cpp203 const char *Loc = Data->getBufferStart() + strlen(Magic); local
205 ToHeader(Loc)->getSize();
206 Child c(this, StringRef(Loc, Size));
208 if (skip_internal && isInternalMember(*ToHeader(Loc)))
237 const char *Loc = Parent->getData().begin() + offset; local
239 ToHeader(Loc)->getSize();
240 Result = Child(Parent, StringRef(Loc, Size));
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DLiveDebugVariables.cpp176 /// getLocationNo - Return the location number that matches Loc.
205 // Add a singular (Idx,Idx) -> Loc mapping.
365 OS << " Loc" << i << '=';
636 const MachineOperand &Loc = locations[LocNo]; local
638 if (!Loc.isReg()) {
644 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) {
647 if (LIS.hasInterval(Loc.getReg())) {
648 LI = &LIS.getInterval(Loc.getReg());
659 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI);
722 MachineOperand &Loc local
865 const MachineOperand *Loc = &locations[LocNo]; local
898 MachineOperand &Loc = locations[LocNo]; local
955 MachineOperand &Loc = locations[LocNo]; local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ExecutionEngine/
H A DJITEventListener.h39 DebugLoc Loc; member in struct:llvm::JITEvent_EmittedFunctionDetails::LineStart
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/MCParser/
H A DAsmLexer.h57 AsmToken ReturnError(const char *Loc, const std::string &Msg);

Completed in 193 milliseconds

1234