Searched defs:Loc (Results 1 - 25 of 312) sorted by last modified time

1234567891011>>

/external/llvm/unittests/Support/
H A DSourceMgrTest.cpp39 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, argument
43 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts);
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp246 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); local
247 IBuilder.SetCurrentDebugLocation(Loc);
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp585 /// Loc - The location in the match file that the check string was specified.
586 SMLoc Loc; member in struct:CheckString
602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {}
720 static size_t SkipWord(StringRef Str, size_t Loc) { argument
721 while (Loc < Str.size() && IsPartOfWord(Str[Loc]))
722 ++Loc;
723 return Loc;
942 static void PrintCheckFailed(const SourceMgr &SM, const SMLoc &Loc, argument
946 SM.PrintMessage(Loc, SourceMg
[all...]
/external/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp697 parseTwoOperandConstraint(StringRef S, ArrayRef<SMLoc> Loc) { argument
701 PrintFatalError(Loc, "missing '=' in two-operand alias constraint");
705 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
712 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
3056 OS << " SMLoc Loc = ((" << Target.getName()
3058 OS << " Parser.Warning(Loc, Info, None);\n";
H A DCTagsEmitter.cpp34 SMLoc Loc; member in class:__anon26567::Tag
37 : Id(&Name), Loc(Location) {}
41 SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Loc));
43 std::pair<unsigned, unsigned> LineAndColumn = SrcMgr.getLineAndColumn(Loc);
H A DCodeGenInstruction.cpp435 ArrayRef<SMLoc> Loc, CodeGenTarget &T,
445 PrintFatalError(Loc, "result argument #" + Twine(AliasOpNo) +
483 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() +
488 PrintFatalError(Loc, "result fixed register argument must "
504 // throw TGError(Loc, "reg0 used for result that is not an "
517 PrintFatalError(Loc, "result argument #" + Twine(AliasOpNo) +
433 tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc, CodeGenTarget &T, ResultOperand &ResOp) argument
H A DCodeGenRegisters.cpp315 ArrayRef<SMLoc> Loc; local
317 Loc = TheDef->getLoc();
318 PrintFatalError(Loc, "Register " + getName() +
332 ArrayRef<SMLoc> Loc; local
334 Loc = TheDef->getLoc();
335 PrintFatalError(Loc, "Sub-register can't have two names: " +
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp61 MarkupTag(StringRef n, StringRef m, SMLoc Loc) argument
62 : Name(n), Modifiers(m), StartLoc(Loc) {}
80 void FatalError(SMLoc Loc, StringRef Msg);
83 void MarkupParser::FatalError(SMLoc Loc, StringRef Msg) { argument
84 SM.PrintMessage(Loc, SourceMgr::DK_Error, Msg);
126 SMLoc Loc = SMLoc::getFromPointer(Start - 1); local
134 return MarkupTag(SplitTag.first, SplitTag.second, Loc);
175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); local
183 Parser.FatalError(Loc, "'>' without matching '<'");
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp675 BasicBlock::iterator Loc= Instr; local
676 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF");
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp292 std::pair<Instruction *, Instruction *> addRuntimeCheck(Instruction *Loc);
298 std::pair<Instruction *, Instruction *> addStrideCheck(Instruction *Loc);
1862 Instruction *Loc) {
1866 return I->getParent() == Loc->getParent() ? I : nullptr;
1871 InnerLoopVectorizer::addStrideCheck(Instruction *Loc) { argument
1876 IRBuilder<> ChkBuilder(Loc);
1888 FirstInst = getFirstInst(FirstInst, C, Loc);
1898 LLVMContext &Ctx = Loc->getContext();
1902 FirstInst = getFirstInst(FirstInst, TheCheck, Loc);
1908 InnerLoopVectorizer::addRuntimeCheck(Instruction *Loc) { argument
1861 getFirstInst(Instruction *FirstInst, Value *V, Instruction *Loc) argument
[all...]
H A DSLPVectorizer.cpp78 unsigned Loc = 0; local
83 InstrIdx[it] = Loc++;
2743 DebugLoc Loc = cast<Instruction>(ReducedVals[i])->getDebugLoc(); local
2749 Builder.SetCurrentDebugLocation(Loc);
/external/llvm/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,
362 const Location &Loc) {
364 case Instruction::VAArg: return getModRefInfo((const VAArgInst*)I, Loc);
365 case Instruction::Load: return getModRefInfo((const LoadInst*)I, Loc);
366 case Instruction::Store: return getModRefInfo((const StoreInst*)I, Loc);
367 case Instruction::Fence: return getModRefInfo((const FenceInst*)I, Loc);
369 return getModRefInfo((const AtomicCmpXchgInst*)I, Loc);
371 return getModRefInfo((const AtomicRMWInst*)I, Loc);
372 case Instruction::Call: return getModRefInfo((const CallInst*)I, Loc);
361 getModRefInfo(const Instruction *I, const Location &Loc) argument
397 getModRefInfo(const CallInst *C, const Location &Loc) argument
408 getModRefInfo(const InvokeInst *I, const Location &Loc) argument
439 getModRefInfo(const FenceInst *S, const Location &Loc) argument
[all...]
/external/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h50 /// Loc is either a stack offset or a register number.
51 unsigned Loc; member in class:llvm::CCValAssign
74 Ret.Loc = RegNo;
97 Ret.Loc = Offset;
123 Loc = RegNo;
128 Loc = Offset;
140 unsigned getLocReg() const { assert(isRegLoc()); return Loc; }
141 unsigned getLocMemOffset() const { assert(isMemLoc()); return Loc; }
H A DGCMetadata.h65 DebugLoc Loc; member in struct:llvm::GCPoint
68 : Kind(K), Label(L), Loc(DL) {}
H A DMachineFunction.h239 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), local
241 MFInfo = new (Loc) Ty(*this);
H A DMachineModuleInfo.h174 DebugLoc Loc; member in struct:llvm::MachineModuleInfo::VariableDbgInfo
406 void setVariableDbgInfo(MDNode *N, unsigned Slot, DebugLoc Loc) { argument
407 VariableDbgInfo Info = { N, Slot, Loc };
/external/llvm/include/llvm/ExecutionEngine/
H A DJITEventListener.h39 DebugLoc Loc; member in struct:llvm::JITEvent_EmittedFunctionDetails::LineStart
/external/llvm/include/llvm/IR/
H A DInstruction.h193 void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; } argument
/external/llvm/include/llvm/MC/
H A DMCFixup.h76 SMLoc Loc; member in class:llvm::MCFixup
79 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
85 FI.Loc = Loc;
108 SMLoc getLoc() const { return Loc; }
H A DMCInst.h152 SMLoc Loc; member in class:llvm::MCInst
160 void setLoc(SMLoc loc) { Loc = loc; }
161 SMLoc getLoc() const { return Loc; }
H A DMCTargetAsmParser.h59 SMLoc Loc; member in struct:llvm::AsmRewrite
64 : Kind(kind), Loc(loc), Len(len), Val(val) {}
/external/llvm/include/llvm/Support/
H A DCommandLine.h330 Ty &Loc; member in struct:llvm::cl::LocationClass
331 LocationClass(Ty &L) : Loc(L) {}
334 void apply(Opt &O) const { O.setLocation(O, Loc); }
H A DSourceMgr.h138 unsigned FindBufferContainingLoc(SMLoc Loc) const;
142 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const { argument
143 return getLineAndColumn(Loc, BufferID).first;
148 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc,
155 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
162 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
179 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
201 SMFixIt(SMLoc Loc, const Twine &Insertion) argument
202 : Range(Loc, Loc), Tex
229 SMLoc Loc; member in class:llvm::SMDiagnostic
[all...]
/external/llvm/include/llvm/TableGen/
H A DRecord.h1639 MultiClass(const std::string &Name, SMLoc Loc, RecordKeeper &Records) : argument
1640 Rec(Name, Loc, Records) {}
H A DSetTheory.h77 ArrayRef<SMLoc> Loc) =0;
124 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
128 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { argument
130 evaluate(*begin++, Elts, Loc);

Completed in 299 milliseconds

1234567891011>>