Lines Matching refs:Lint
66 class Lint : public FunctionPass, public InstVisitor<Lint> { class
67 friend class InstVisitor<Lint>;
111 Lint() : FunctionPass(ID), MessagesStr(Messages) { in Lint() function in __anond2849e850111::Lint
149 char Lint::ID = 0;
150 INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR",
154 INITIALIZE_PASS_END(Lint, "lint", "Statically lint-checks LLVM IR", in INITIALIZE_PASS_DEPENDENCY()
172 bool Lint::runOnFunction(Function &F) {
183 void Lint::visitFunction(Function &F) { in visitFunction()
192 void Lint::visitCallSite(CallSite CS) { in visitCallSite()
342 void Lint::visitCallInst(CallInst &I) { in visitCallInst()
346 void Lint::visitInvokeInst(InvokeInst &I) { in visitInvokeInst()
350 void Lint::visitReturnInst(ReturnInst &I) { in visitReturnInst()
365 void Lint::visitMemoryReference(Instruction &I, in visitMemoryReference()
423 void Lint::visitLoadInst(LoadInst &I) { in visitLoadInst()
429 void Lint::visitStoreInst(StoreInst &I) { in visitStoreInst()
436 void Lint::visitXor(BinaryOperator &I) { in visitXor()
442 void Lint::visitSub(BinaryOperator &I) { in visitSub()
448 void Lint::visitLShr(BinaryOperator &I) { in visitLShr()
455 void Lint::visitAShr(BinaryOperator &I) { in visitAShr()
462 void Lint::visitShl(BinaryOperator &I) { in visitShl()
480 void Lint::visitSDiv(BinaryOperator &I) { in visitSDiv()
485 void Lint::visitUDiv(BinaryOperator &I) { in visitUDiv()
490 void Lint::visitSRem(BinaryOperator &I) { in visitSRem()
495 void Lint::visitURem(BinaryOperator &I) { in visitURem()
500 void Lint::visitAllocaInst(AllocaInst &I) { in visitAllocaInst()
509 void Lint::visitVAArgInst(VAArgInst &I) { in visitVAArgInst()
514 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
522 void Lint::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
530 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
538 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
553 Value *Lint::findValue(Value *V, bool OffsetOk) const { in findValue()
559 Value *Lint::findValueImpl(Value *V, bool OffsetOk, in findValueImpl()
633 return new Lint(); in createLintPass()
643 Lint *V = new Lint(); in lintFunction()
652 Lint *V = new Lint(); in lintModule()