Home
last modified time | relevance | path

Searched refs:getZero (Results 1 – 13 of 13) sorted by relevance

/external/clang/test/Analysis/inlining/
Dpath-notes.c56 int *getZero() { in getZero() function
65 *getZero() = 1; // expected-warning{{Dereference of null pointer}} in testReturnZero()
72 return *getZero(); // expected-warning{{Dereference of null pointer}} in testReturnZero2()
79 int *a = getZero(); in testInitZero()
88 a = getZero(); in testStoreZero()
103 usePointer(getZero()); in testUseOfNullPointer()
DObjCDynTypePopagation.m13 - (int) getZero { method
43 clang_analyzer_eval([a getZero] == 0); // expected-warning{{TRUE}}
65 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
72 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
82 return [x getZero];
88 - (int) getZero; method
96 - (int) getZero { return 5; } method
99 clang_analyzer_eval([x getZero] == 0); //expected-warning{{TRUE}}
DObjCImproperDynamictallyDetectableCast.m17 - (int)getZero; method
20 - (int)getZero { return 0; } method
24 - (int)getZero; method
28 - (int)getZero { return 1; } method
35 clang_analyzer_eval([o getZero] == 0); // expected-warning{{FALSE}}
DDynDispatchBifurcate.m6 - (int)getZero; method
9 - (int)getZero { method
68 - (int)getZero; method
78 int z = [p getZero];
81 return 5/[p getZero];// expected-warning {{Division by zero}}
88 int z = [c getZero]; // MyClass overrides getZero to return '1'.
91 return 5/[c getZero];//no warning
94 - (int)getZero { method
138 // - If it's MyParent*, getZero returns 0.
139 // - If it's MyClass*, getZero returns 1 and 'return 5/m' is reachable.
Dpath-notes.cpp159 int getZero() { in getZero() function
173 int problem = 1 / getZero(); // expected-warning {{Division by zero}} in test()
/external/clang/test/Analysis/
Dinline.cpp18 int getZero() { return 0; } in getZero() function in A
23 clang_analyzer_eval(a.getZero() == 0); // expected-warning{{TRUE}} in test()
27 clang_analyzer_eval(copy.getZero() == 0); // expected-warning{{TRUE}} in test()
371 clang_analyzer_eval(object->getZero() == 0); // expected-warning{{TRUE}} in test()
372 clang_analyzer_eval(object->One::getZero() == 0); // expected-warning{{TRUE}} in test()
373 clang_analyzer_eval(object->A::getZero() == 0); // expected-warning{{TRUE}} in test()
/external/llvm/include/llvm/Support/
DBranchProbability.h38 static BranchProbability getZero() { return BranchProbability(0, 1); } in getZero() function
/external/llvm/include/llvm/ADT/
DAPFloat.h194 static APFloat getZero(const fltSemantics &Sem, bool Negative = false) {
/external/llvm/lib/IR/
DConstants.cpp120 APFloat::getZero(APFloat::IEEEhalf)); in getNullValue()
123 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue()
126 APFloat::getZero(APFloat::IEEEdouble)); in getNullValue()
129 APFloat::getZero(APFloat::x87DoubleExtended)); in getNullValue()
132 APFloat::getZero(APFloat::IEEEquad)); in getNullValue()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp751 P = APFloat::getZero(APFloat::IEEEdouble); in TEST()
754 P = APFloat::getZero(APFloat::IEEEdouble, true); in TEST()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp603 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue()
618 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue()
/external/clang/lib/AST/
DExprConstant.cpp3711 f = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(EltTy)); in VisitInitListExpr()
3729 APValue(APFloat::getZero(Info.Ctx.getFloatTypeSemantics(EltTy))); in ZeroInitialization()
5541 Result = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(E->getType())); in ZeroInitialization()
5670 Result = llvm::APFloat::getZero(Sem); in VisitUnaryImag()
5797 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy)); in ZeroInitialization()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp707 APFloat TmpFlt = APFloat::getZero(APFloat::x87DoubleExtended); in X86TargetLowering()