Searched defs:One (Results 1 - 25 of 51) sorted by relevance

123

/external/llvm/unittests/ADT/
H A DAPIntTest.cpp21 APInt One = APInt::getNullValue(65) + 1; local
22 APInt Shl = One.shl(0);
/external/android-mock/tests/com/google/android/testing/mocking/
H A DClassIsEnum.java24 One, Two, Three, Four; enum constant in enum:ClassIsEnum
/external/clang/test/Sema/
H A Dwarn-outof-range-assign-enum.c6 One, enumerator in enum:CCTestEnum
H A Dmissing-field-initializers.c25 struct One { int a; int b; }; struct
30 struct One one;
/external/llvm/examples/HowToUseJIT/
H A DHowToUseJIT.cpp78 Value *One = builder.getInt32(1); local
86 Value *Add = builder.CreateAdd(One, ArgX);
/external/llvm/unittests/VMCore/
H A DConstantsTest.cpp20 Constant* One = ConstantInt::get(Int1, 1, true); local
28 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One));
32 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One));
40 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One));
44 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne));
48 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One));
52 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One));
[all...]
H A DInstructionsTest.cpp35 Constant* One = ConstantInt::get(Int1, 1, true); local
36 const ReturnInst* r1 = ReturnInst::Create(C, One);
40 EXPECT_EQ(One, *b);
41 EXPECT_EQ(One, r1->getOperand(0));
73 Constant* One = ConstantInt::get(Int1, 1, true); local
76 BranchInst* b1 = BranchInst::Create(bb0, bb1, One);
89 EXPECT_EQ(One, *b);
90 EXPECT_EQ(One, b1->getOperand(0));
91 EXPECT_EQ(One, b1->getCondition());
/external/llvm/examples/Fibonacci/
H A Dfibonacci.cpp51 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); local
68 ReturnInst::Create(Context, One, RetBB);
71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
/external/llvm/unittests/Support/
H A DConstantRangeTest.cpp23 static ConstantRange One; member in class:__anon9860::ConstantRangeTest
30 ConstantRange ConstantRangeTest::One(APInt(16, 0xa));
55 EXPECT_FALSE(One.isFullSet());
56 EXPECT_FALSE(One.isEmptySet());
57 EXPECT_FALSE(One.isWrappedSet());
58 EXPECT_FALSE(One.contains(APInt(16, 0x0)));
59 EXPECT_FALSE(One.contains(APInt(16, 0x9)));
60 EXPECT_TRUE(One.contains(APInt(16, 0xa)));
61 EXPECT_FALSE(One.contains(APInt(16, 0xaa9)));
62 EXPECT_FALSE(One
[all...]
/external/openfst/src/include/fst/
H A Dexpectation-weight.h21 // One: <One, Zero>
80 static const ExpectationWeight<X1, X2> &One() { function in class:fst::ExpectationWeight
81 static const ExpectationWeight<X1, X2> one(X1::One(), X2::Zero());
H A Dlexicographic-weight.h47 using PairWeight<W1, W2>::One;
80 static const LexicographicWeight<W1, W2> &One() { function in class:fst::LexicographicWeight
81 static const LexicographicWeight<W1, W2> one(PairWeight<W1, W2>::One());
H A Dproduct-weight.h38 using PairWeight<W1, W2>::One;
57 static const ProductWeight<W1, W2> &One() { function in class:fst::ProductWeight
58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One());
H A Dpower-weight.h42 using TupleWeight<W, n>::One;
61 static const PowerWeight<W, n> &One() { function in class:fst::PowerWeight
62 static const PowerWeight<W, n> one(TupleWeight<W, n>::One());
H A Dfloat-weight.h201 static const TropicalWeightTpl<T> One() { function in class:fst::TropicalWeightTpl
326 static const LogWeightTpl<T> One() { function in class:fst::LogWeightTpl
460 static const MinMaxWeightTpl<T> One() { function in class:fst::MinMaxWeightTpl
H A Dpair-weight.h61 static const PairWeight<W1, W2> &One() { function in class:fst::PairWeight
62 static const PairWeight<W1, W2> one(W1::One(), W2::One());
H A Dsigned-log-weight.h62 static const SignedLogWeightTpl<T> &One() { function in class:fst::SignedLogWeightTpl
63 static const SignedLogWeightTpl<T> one(X1(1.0), X2::One());
H A Dsparse-power-weight.h65 return ApproxEqual(v1, v2, delta_) ? W::One() : W::Zero();
83 using SparseTupleWeight<W, K>::One;
107 static const SparsePowerWeight<W, K> &One() { function in class:fst::SparsePowerWeight
108 static const SparsePowerWeight<W, K> one(SparseTupleWeight<W, K>::One());
198 return ret == SparsePowerWeight<W, K>::One();
H A Dtuple-weight.h69 static const TupleWeight<W, n> &One() { function in class:fst::TupleWeight
70 static const TupleWeight<W, n> one(W::One());
/external/clang/include/clang/AST/
H A DCharUnits.h58 /// One - Construct a CharUnits quantity of one.
59 static CharUnits One() { function in class:clang::CharUnits
/external/clang/test/Analysis/
H A Dinline.cpp32 class One : public A { class in inherits:A
39 One b;
/external/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); local
56 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB);
78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); local
95 ReturnInst::Create(M->getContext(), One, RetBB);
98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
/external/llvm/include/llvm/Target/
H A DTargetCallingConv.h48 static const uint64_t One = 1ULL; ///< 1 of this type, for shifts member in struct:llvm::ISD::ArgFlagsTy
55 void setZExt() { Flags |= One << ZExtOffs; }
58 void setSExt() { Flags |= One << SExtOffs; }
61 void setInReg() { Flags |= One << InRegOffs; }
64 void setSRet() { Flags |= One << SRetOffs; }
67 void setByVal() { Flags |= One << ByValOffs; }
70 void setNest() { Flags |= One << NestOffs; }
74 ((One << ((Flags & ByValAlign) >> ByValAlignOffs)) / 2);
82 void setSplit() { Flags |= One << SplitOffs; }
86 ((One << ((Flag
[all...]
/external/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp340 char One = '\1'; local
341 if (LinkageName.startswith(StringRef(&One, 1)))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp603 Constant *One = ConstantInt::get(I.getType(), 1); local
604 C = ConstantExpr::getSub(One, ConstantExpr::getShl(One, CI));
/external/openfst/src/include/fst/script/
H A Dweight-class.h125 static const WeightClass &One() { function in class:fst::script::WeightClass
149 static const W one = W::One();

Completed in 428 milliseconds

123