Lines Matching refs:Lint
69 class Lint : public FunctionPass, public InstVisitor<Lint> { class
70 friend class InstVisitor<Lint>;
118 Lint() : FunctionPass(ID), MessagesStr(Messages) { in Lint() function in __anondcc8723c0111::Lint
164 char Lint::ID = 0;
165 INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR",
171 INITIALIZE_PASS_END(Lint, "lint", "Statically lint-checks LLVM IR", in INITIALIZE_PASS_DEPENDENCY()
181 bool Lint::runOnFunction(Function &F) {
194 void Lint::visitFunction(Function &F) { in visitFunction()
203 void Lint::visitCallSite(CallSite CS) { in visitCallSite()
351 void Lint::visitCallInst(CallInst &I) { in visitCallInst()
355 void Lint::visitInvokeInst(InvokeInst &I) { in visitInvokeInst()
359 void Lint::visitReturnInst(ReturnInst &I) { in visitReturnInst()
372 void Lint::visitMemoryReference(Instruction &I, in visitMemoryReference()
463 void Lint::visitLoadInst(LoadInst &I) { in visitLoadInst()
469 void Lint::visitStoreInst(StoreInst &I) { in visitStoreInst()
476 void Lint::visitXor(BinaryOperator &I) { in visitXor()
481 void Lint::visitSub(BinaryOperator &I) { in visitSub()
486 void Lint::visitLShr(BinaryOperator &I) { in visitLShr()
493 void Lint::visitAShr(BinaryOperator &I) { in visitAShr()
500 void Lint::visitShl(BinaryOperator &I) { in visitShl()
547 void Lint::visitSDiv(BinaryOperator &I) { in visitSDiv()
552 void Lint::visitUDiv(BinaryOperator &I) { in visitUDiv()
557 void Lint::visitSRem(BinaryOperator &I) { in visitSRem()
562 void Lint::visitURem(BinaryOperator &I) { in visitURem()
567 void Lint::visitAllocaInst(AllocaInst &I) { in visitAllocaInst()
576 void Lint::visitVAArgInst(VAArgInst &I) { in visitVAArgInst()
581 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
589 void Lint::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
596 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
603 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
619 Value *Lint::findValue(Value *V, bool OffsetOk) const { in findValue()
625 Value *Lint::findValueImpl(Value *V, bool OffsetOk, in findValueImpl()
698 return new Lint(); in createLintPass()
708 Lint *V = new Lint(); in lintFunction()
717 Lint *V = new Lint(); in lintModule()