Home
last modified time | relevance | path

Searched refs:One (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/external/swiftshader/third_party/LLVM/unittests/VMCore/
DConstantsTest.cpp20 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() local
28 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
32 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
40 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
44 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
48 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
52 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST()
56 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
60 EXPECT_EQ(Undef, ConstantExpr::getLShr(One, One)); in TEST()
64 EXPECT_EQ(Undef, ConstantExpr::getAShr(One, One)); in TEST()
[all …]
DInstructionsTest.cpp30 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() local
31 const ReturnInst* r1 = ReturnInst::Create(C, One); in TEST()
35 EXPECT_EQ(One, *b); in TEST()
36 EXPECT_EQ(One, r1->getOperand(0)); in TEST()
68 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() local
71 BranchInst* b1 = BranchInst::Create(bb0, bb1, One); in TEST()
84 EXPECT_EQ(One, *b); in TEST()
85 EXPECT_EQ(One, b1->getOperand(0)); in TEST()
86 EXPECT_EQ(One, b1->getCondition()); in TEST()
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp23 static ConstantRange One; member in __anon27cb05bc0111::ConstantRangeTest
30 ConstantRange ConstantRangeTest::One(APInt(16, 0xa)); member in __anon27cb05bc0111::ConstantRangeTest
55 EXPECT_FALSE(One.isFullSet()); in TEST_F()
56 EXPECT_FALSE(One.isEmptySet()); in TEST_F()
57 EXPECT_FALSE(One.isWrappedSet()); in TEST_F()
58 EXPECT_FALSE(One.contains(APInt(16, 0x0))); in TEST_F()
59 EXPECT_FALSE(One.contains(APInt(16, 0x9))); in TEST_F()
60 EXPECT_TRUE(One.contains(APInt(16, 0xa))); in TEST_F()
61 EXPECT_FALSE(One.contains(APInt(16, 0xaa9))); in TEST_F()
62 EXPECT_FALSE(One.contains(APInt(16, 0xaaa))); in TEST_F()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp23 static ConstantRange One; member in __anon9c79176e0111::ConstantRangeTest
30 ConstantRange ConstantRangeTest::One(APInt(16, 0xa)); member in __anon9c79176e0111::ConstantRangeTest
55 EXPECT_FALSE(One.isFullSet()); in TEST_F()
56 EXPECT_FALSE(One.isEmptySet()); in TEST_F()
57 EXPECT_FALSE(One.isWrappedSet()); in TEST_F()
58 EXPECT_FALSE(One.contains(APInt(16, 0x0))); in TEST_F()
59 EXPECT_FALSE(One.contains(APInt(16, 0x9))); in TEST_F()
60 EXPECT_TRUE(One.contains(APInt(16, 0xa))); in TEST_F()
61 EXPECT_FALSE(One.contains(APInt(16, 0xaa9))); in TEST_F()
62 EXPECT_FALSE(One.contains(APInt(16, 0xaaa))); in TEST_F()
[all …]
DConstantsTest.cpp27 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() local
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
59 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST()
63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
67 EXPECT_EQ(Undef, ConstantExpr::getLShr(One, One)); in TEST()
71 EXPECT_EQ(Undef, ConstantExpr::getAShr(One, One)); in TEST()
[all …]
/external/llvm/include/llvm/Target/
DTargetCallingConv.h63 static const uint64_t One = 1ULL; ///< 1 of this type, for shifts member
71 void setZExt() { Flags |= One << ZExtOffs; } in setZExt()
74 void setSExt() { Flags |= One << SExtOffs; } in setSExt()
77 void setInReg() { Flags |= One << InRegOffs; } in setInReg()
80 void setSRet() { Flags |= One << SRetOffs; } in setSRet()
83 void setByVal() { Flags |= One << ByValOffs; } in setByVal()
86 void setInAlloca() { Flags |= One << InAllocaOffs; } in setInAlloca()
89 void setSwiftSelf() { Flags |= One << SwiftSelfOffs; } in setSwiftSelf()
92 void setSwiftError() { Flags |= One << SwiftErrorOffs; } in setSwiftError()
95 void setNest() { Flags |= One << NestOffs; } in setNest()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared_cxx03.pass.cpp35 struct One struct
39 explicit One(int v) : value(v) {++count;} in One() function
40 One(One const & o) : value(o.value) {++count;} in One() argument
41 ~One() {--count;} in ~One() argument
44 int One::count = 0;
80 std::shared_ptr<One> p = std::allocate_shared<One>(Alloc(), i); in test()
81 assert(One::count == 1); in test()
84 assert(One::count == 0); in test()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetCallingConv.h44 static const uint64_t One = 1ULL; //< 1 of this type, for shifts member
51 void setZExt() { Flags |= One << ZExtOffs; } in setZExt()
54 void setSExt() { Flags |= One << SExtOffs; } in setSExt()
57 void setInReg() { Flags |= One << InRegOffs; } in setInReg()
60 void setSRet() { Flags |= One << SRetOffs; } in setSRet()
63 void setByVal() { Flags |= One << ByValOffs; } in setByVal()
66 void setNest() { Flags |= One << NestOffs; } in setNest()
70 ((One << ((Flags & ByValAlign) >> ByValAlignOffs)) / 2); in getByValAlign()
78 void setSplit() { Flags |= One << SplitOffs; } in setSplit()
82 ((One << ((Flags & OrigAlign) >> OrigAlignOffs)) / 2); in getOrigAlign()
/external/llvm/unittests/CodeGen/
DDIEHashTest.cpp51 DIEInteger One(1); in TEST_F() local
52 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
55 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
56 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
66 DIEInteger One(1); in TEST_F() local
69 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
82 DIEInteger One(1); in TEST_F() local
87 One); in TEST_F()
93 Foo->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
178 DIEInteger One(1); in TEST_F() local
[all …]
/external/mesa3d/src/gallium/docs/source/cso/
Ddsa.rst26 The depth test function. One of PIPE_FUNC.
36 The stencil test function. One of PIPE_FUNC.
44 The operation to carry out if the stencil test fails. One of
48 fails. One of PIPE_STENCIL_OP.
51 One of PIPE_STENCIL_OP.
59 The alpha test function. One of PIPE_FUNC.
Dsampler.rst16 How to wrap the S coordinate. One of PIPE_TEX_WRAP_*.
18 How to wrap the T coordinate. One of PIPE_TEX_WRAP_*.
20 How to wrap the R coordinate. One of PIPE_TEX_WRAP_*.
48 The image filter to use when minifying texels. One of PIPE_TEX_FILTER_*.
50 The image filter to use when magnifying texels. One of PIPE_TEX_FILTER_*.
54 * ``PIPE_TEX_FILTER_NEAREST``: One texel is fetched from the texture image
61 The filter to use when minifying mipmapped textures. One of
82 The inequality operator used when compare_mode=1. One of PIPE_FUNC_x.
Dblend.rst82 The logicop to use. One of ``PIPE_LOGICOP``.
112 The blend function to use for rgb channels. One of PIPE_BLEND.
114 The blend source factor to use for rgb channels. One of PIPE_BLENDFACTOR.
116 The blend destination factor to use for rgb channels. One of PIPE_BLENDFACTOR.
118 The blend function to use for the alpha channel. One of PIPE_BLEND.
120 The blend source factor to use for the alpha channel. One of PIPE_BLENDFACTOR.
122 The blend destination factor to use for alpha channel. One of PIPE_BLENDFACTOR.
/external/clang/test/SemaObjC/
Dobjc-cstyle-args-in-methods.m16 [foo test:@"One", @"Two"];
17 [foo bad:@"One", @"Two"]; // expected-error {{too few arguments to method call}}
18 [foo bad:@"One", @"Two", 3.14];
19 [foo bad:@"One", @"Two", 3.14, @"Two"]; // expected-error {{too many arguments to method call}}
/external/clang/test/Modules/Inputs/wildcard-submodule-exports/
Dmodule.map2 module One { header "A_one.h" }
7 module One { header "B_one.h" }
12 module One {
DC_one.h1 @import A.One;
2 @import B.One;
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerBool.cpp90 auto One = getScalarOrVectorConstantInt(Ty, 1, false); in visitZExtInst() local
91 auto Sel = SelectInst::Create(Op, One, Zero, "", &I); in visitZExtInst()
100 auto One = getScalarOrVectorConstantInt(Ty, ~0, false); in visitSExtInst() local
101 auto Sel = SelectInst::Create(Op, One, Zero, "", &I); in visitSExtInst()
/external/clang/test/Index/Core/
Dindex-source.m59 // CHECK: [[@LINE+1]]:1 | enum/C | <no-name> | c:@Ea@One | <no-cgname> | Def | rel: 0
61 // CHECK: [[@LINE+2]]:3 | enumerator/C | One | c:@Ea@One@One | <no-cgname> | Def,RelChild | rel: 1
62 // CHECK-NEXT: RelChild | <no-name> | c:@Ea@One
63 One,
64 // CHECK: [[@LINE+2]]:3 | enumerator/C | Two | c:@Ea@One@Two | <no-cgname> | Def,RelChild | rel: 1
65 // CHECK-NEXT: RelChild | <no-name> | c:@Ea@One
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DSymmetry.h41 constexpr static int One = One_; member
50 constexpr static int One = One_; member
59 constexpr static int One = One_; member
68 constexpr static int One = One_; member
162 constexpr static std::size_t One = static_cast<std::size_t>(One_);
167 constexpr static std::size_t maxOneTwoPlusOne = ((One > Two) ? One : Two) + 1;
/external/clang/test/Analysis/
Dinline.cpp33 class One : public A { class
40 One b; in testPathSensitivity()
401 void test(One *object) { in test()
404 clang_analyzer_eval(object->One::getNum() == 1); // expected-warning{{TRUE}} in test()
409 clang_analyzer_eval(object->One::getZero() == 0); // expected-warning{{TRUE}} in test()
/external/clang/test/Modules/
Dwildcard-submodule-exports.cpp5 @import C.One;
21 @import B.One;
/external/markdown/tests/misc/
Dem_strong.txt1 One asterisk: *
3 One underscore: _
Dlists.txt19 * One
27 * One one one one
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/
DParallelJIT.cpp48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() local
56 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1()
78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() local
95 ReturnInst::Create(M->getContext(), One, RetBB); in CreateFibFunction()
98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp65 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() local
73 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1()
95 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() local
112 ReturnInst::Create(M->getContext(), One, RetBB); in CreateFibFunction()
115 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
/external/clang/test/Parser/
Dcxx-concept-declaration.cpp19 constexpr int One = 1; variable
22 static concept decltype(!0) C5 { bool(One) };

12345678910>>...31