Lines Matching refs:Lint
68 class Lint : public FunctionPass, public InstVisitor<Lint> { class
69 friend class InstVisitor<Lint>;
116 Lint() : FunctionPass(ID), MessagesStr(Messages) { in Lint() function in __anondcc8723c0111::Lint
162 char Lint::ID = 0;
163 INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR",
169 INITIALIZE_PASS_END(Lint, "lint", "Statically lint-checks LLVM IR", in INITIALIZE_PASS_DEPENDENCY()
179 bool Lint::runOnFunction(Function &F) {
191 void Lint::visitFunction(Function &F) { in visitFunction()
200 void Lint::visitCallSite(CallSite CS) { in visitCallSite()
362 void Lint::visitCallInst(CallInst &I) { in visitCallInst()
366 void Lint::visitInvokeInst(InvokeInst &I) { in visitInvokeInst()
370 void Lint::visitReturnInst(ReturnInst &I) { in visitReturnInst()
384 void Lint::visitMemoryReference(Instruction &I, in visitMemoryReference()
477 void Lint::visitLoadInst(LoadInst &I) { in visitLoadInst()
483 void Lint::visitStoreInst(StoreInst &I) { in visitStoreInst()
490 void Lint::visitXor(BinaryOperator &I) { in visitXor()
495 void Lint::visitSub(BinaryOperator &I) { in visitSub()
500 void Lint::visitLShr(BinaryOperator &I) { in visitLShr()
508 void Lint::visitAShr(BinaryOperator &I) { in visitAShr()
515 void Lint::visitShl(BinaryOperator &I) { in visitShl()
572 void Lint::visitEHBeginCatch(IntrinsicInst *II) { in visitEHBeginCatch()
659 void Lint::visitEHEndCatch(IntrinsicInst *II) { in visitEHEndCatch()
743 void Lint::visitSDiv(BinaryOperator &I) { in visitSDiv()
748 void Lint::visitUDiv(BinaryOperator &I) { in visitUDiv()
753 void Lint::visitSRem(BinaryOperator &I) { in visitSRem()
758 void Lint::visitURem(BinaryOperator &I) { in visitURem()
763 void Lint::visitAllocaInst(AllocaInst &I) { in visitAllocaInst()
772 void Lint::visitVAArgInst(VAArgInst &I) { in visitVAArgInst()
777 void Lint::visitIndirectBrInst(IndirectBrInst &I) { in visitIndirectBrInst()
785 void Lint::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
793 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
801 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
817 Value *Lint::findValue(Value *V, const DataLayout &DL, bool OffsetOk) const { in findValue()
823 Value *Lint::findValueImpl(Value *V, const DataLayout &DL, bool OffsetOk, in findValueImpl()
895 return new Lint(); in createLintPass()
905 Lint *V = new Lint(); in lintFunction()
914 Lint *V = new Lint(); in lintModule()