Home
last modified time | relevance | path

Searched refs:GlobalInt (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCrashRecoveryTest.cpp23 static int GlobalInt = 0; variable
25 static void incrementGlobal() { ++GlobalInt; } in incrementGlobal()
30 GlobalInt = 0; in TEST()
32 EXPECT_EQ(1, GlobalInt); in TEST()
40 virtual void recoverResources() { ++GlobalInt; } in recoverResources()
47 GlobalInt = 0; in TEST()
53 EXPECT_EQ(1, GlobalInt); in TEST()
55 GlobalInt = 0; in TEST()
61 EXPECT_EQ(1, GlobalInt); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp337 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST() local
338 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
346 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp336 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST() local
337 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
345 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()