Home
last modified time | relevance | path

Searched refs:Zero (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/external/llvm/unittests/VMCore/
DConstantsTest.cpp21 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() local
28 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
32 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
36 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); 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()
56 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
88 EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One)); in TEST()
92 EXPECT_EQ(Zero, ConstantExpr::getURem(NegOne, One)); in TEST()
[all …]
/external/llvm/lib/Target/CellSPU/
DSPU128InstrInfo.td7 // zext 32->128: Zero extend 32-bit to 128-bit
11 // zext 64->128: Zero extend 64-bit to 128-bit
15 // zext 16->128: Zero extend 16-bit to 128-bit
19 // zext 8->128: Zero extend 8-bit to 128-bit
23 // anyext 32->128: Zero extend 32-bit to 128-bit
27 // anyext 64->128: Zero extend 64-bit to 128-bit
31 // anyext 16->128: Zero extend 16-bit to 128-bit
35 // anyext 8->128: Zero extend 8-bit to 128-bit
/external/openfst/src/include/fst/
Dshortest-distance.h149 distance_->push_back(Weight::Zero()); in ShortestDistance()
150 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
168 distance_->push_back(Weight::Zero()); in ShortestDistance()
169 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
172 if (first_path_ && (fst_.Final(s) != Weight::Zero())) in ShortestDistance()
176 rdistance_[s] = Weight::Zero(); in ShortestDistance()
181 if (!arc_filter_(arc) || arc.weight == Weight::Zero()) in ShortestDistance()
184 distance_->push_back(Weight::Zero()); in ShortestDistance()
185 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
192 (*distance_)[arc.nextstate] = Weight::Zero(); in ShortestDistance()
[all …]
Dstring-weight.h86 static const StringWeight<L, S> &Zero() { in Zero() function
347 w = StringWeight<L, S>::Zero();
374 if (w1 == StringWeight<L, S>::Zero()) in Plus()
376 if (w2 == StringWeight<L, S>::Zero()) in Plus()
397 if (w1 == StringWeight<L, STRING_LEFT>::Zero()) in Plus()
399 if (w2 == StringWeight<L, STRING_LEFT>::Zero()) in Plus()
418 if (w1 == StringWeight<L, STRING_RIGHT>::Zero()) in Plus()
420 if (w2 == StringWeight<L, STRING_RIGHT>::Zero()) in Plus()
438 if (w1 == StringWeight<L, S>::Zero() || w2 == StringWeight<L, S>::Zero()) in Times()
439 return StringWeight<L, S>::Zero(); in Times()
[all …]
Dshortest-path.h58 bool fp = false, Weight w = Weight::Zero(),
100 Weight f_distance = Weight::Zero(); in SingleShortestPath()
111 if (opts.weight_threshold != Weight::Zero() || in SingleShortestPath()
126 distance->push_back(Weight::Zero()); in SingleShortestPath()
129 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
133 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
142 if (ifst.Final(s) != Weight::Zero()) { in SingleShortestPath()
160 distance->push_back(Weight::Zero()); in SingleShortestPath()
163 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), in SingleShortestPath()
223 px.first < distance_.size() ? distance_[px.first] : Weight::Zero(); in operator()
[all …]
Dprune.h75 Weight wx = Times(x < idistance_.size() ? idistance_[x] : Weight::Zero(), in operator()
76 x < fdistance_.size() ? fdistance_[x] : Weight::Zero()); in operator()
77 Weight wy = Times(y < idistance_.size() ? idistance_[y] : Weight::Zero(), in operator()
78 y < fdistance_.size() ? fdistance_[y] : Weight::Zero()); in operator()
115 vector<Weight> idistance(ns, Weight::Zero()); in Prune()
125 ((*fdistance)[fst->Start()] == Weight::Zero())) { in Prune()
152 fst->SetFinal(s, Weight::Zero()); in Prune()
161 : Weight::Zero()); in Prune()
247 ((*fdistance)[ifst.Start()] == Weight::Zero())) { in Prune()
257 Weight limit = Times(s < fdistance->size() ? (*fdistance)[s] : Weight::Zero(), in Prune()
[all …]
Dlexicographic-weight.h46 using PairWeight<W1, W2>::Zero;
75 static const LexicographicWeight<W1, W2> &Zero() { in Zero() function
76 static const LexicographicWeight<W1, W2> zero(PairWeight<W1, W2>::Zero()); in Zero()
99 if (Value1() == W1::Zero() && Value2() == W2::Zero()) return true; in Member()
100 if (Value1() != W1::Zero() && Value2() != W2::Zero()) return true; in Member()
Dexpectation-weight.h64 ExpectationWeight() : PairWeight<X1, X2>(Zero()) { } in ExpectationWeight()
75 static const ExpectationWeight<X1, X2> &Zero() { in Zero() function
76 static const ExpectationWeight<X1, X2> zero(X1::Zero(), X2::Zero()); in Zero()
81 static const ExpectationWeight<X1, X2> one(X1::One(), X2::Zero()); in One()
Dreweight.h74 if (weight != Weight::Zero()) { in Reweight()
82 if (nextweight == Weight::Zero()) in Reweight()
103 fst->SetFinal(state, Times(Weight::Zero(), fst->Final(state))); in Reweight()
107 potential[fst->Start()] : Weight::Zero(); in Reweight()
108 if ((startweight != Weight::One()) && (startweight != Weight::Zero())) { in Reweight()
Drandom-weight.h60 return Weight::Zero(); in operator()
92 return Weight::Zero(); in operator()
125 return Weight::Zero(); in operator()
159 return Weight::Zero(); in operator()
226 return Weight(W1::Zero(), W2::Zero()); in operator()
307 LogWeightTpl<T>::Zero() : in operator()
Dpair-weight.h56 static const PairWeight<W1, W2> &Zero() { in Zero() function
57 static const PairWeight<W1, W2> zero(W1::Zero(), W2::Zero()); in Zero()
132 W1 w1 = W1::Zero(); in ReadNoParen()
136 W2 w2 = W2::Zero(); in ReadNoParen()
181 W1 w1 = W1::Zero(); in ReadWithParen()
199 W2 w2 = W2::Zero(); in ReadWithParen()
Darc-map.h164 fst->SetFinal(s, Weight::Zero()); in ArcMap()
175 final_arc.weight != Weight::Zero()) in ArcMap()
178 fst->SetFinal(s, Weight::Zero()); in ArcMap()
268 ofst->SetFinal(s, B::Weight::Zero()); in ArcMap()
277 final_arc.weight != B::Weight::Zero()) in ArcMap()
280 ofst->SetFinal(s, B::Weight::Zero()); in ArcMap()
400 SetFinal(s, Weight::Zero()); in Final()
405 SetFinal(s, s == superfinal_ ? Weight::One() : Weight::Zero()); in Final()
460 if (!HasFinal(s) || Final(s) == Weight::Zero()) in Expand()
480 final_arc.weight != B::Weight::Zero()) in Expand()
[all …]
Dsigned-log-weight.h57 static const SignedLogWeightTpl<T> &Zero() { in Zero() function
58 static const SignedLogWeightTpl<T> zero(X1(1.0), X2::Zero()); in Zero()
96 if (Value2() == X2::Zero() || Value1().Value() > 0.0) in Hash()
124 return SignedLogWeightTpl<T>::Zero(); in Plus()
197 return w1.Value2() == LogWeightTpl<T>::Zero()
198 && w2.Value2() == LogWeightTpl<T>::Zero();
210 return (w1.Value2() == LogWeightTpl<T>::Zero()) &&
211 (w2.Value2() == LogWeightTpl<T>::Zero());
Dtuple-weight.h64 static const TupleWeight<W, n> &Zero() { in Zero() function
65 static const TupleWeight<W, n> zero(W::Zero()); in Zero()
157 W r = W::Zero(); in ReadNoParen()
163 W r = W::Zero(); in ReadNoParen()
212 W r = W::Zero(); in ReadWithParen()
231 W r = W::Zero(); in ReadWithParen()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dstring-weight.h83 static const StringWeight<L, S> &Zero() { in Zero() function
339 w = StringWeight<L, S>::Zero();
364 if (w1 == StringWeight<L, S>::Zero()) in Plus()
366 if (w2 == StringWeight<L, S>::Zero()) in Plus()
381 if (w1 == StringWeight<L, STRING_LEFT>::Zero()) in Plus()
383 if (w2 == StringWeight<L, STRING_LEFT>::Zero()) in Plus()
400 if (w1 == StringWeight<L, STRING_RIGHT>::Zero()) in Plus()
402 if (w2 == StringWeight<L, STRING_RIGHT>::Zero()) in Plus()
418 if (w1 == StringWeight<L, S>::Zero() || w2 == StringWeight<L, S>::Zero()) in Times()
419 return StringWeight<L, S>::Zero(); in Times()
[all …]
Dshortest-distance.h115 distance_->push_back(Weight::Zero()); in ShortestDistance()
116 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
134 distance_->push_back(Weight::Zero()); in ShortestDistance()
135 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
140 rdistance_[s] = Weight::Zero(); in ShortestDistance()
145 if (!arc_filter_(arc) || arc.weight == Weight::Zero()) in ShortestDistance()
148 distance_->push_back(Weight::Zero()); in ShortestDistance()
149 rdistance_.push_back(Weight::Zero()); in ShortestDistance()
156 (*distance_)[arc.nextstate] = Weight::Zero(); in ShortestDistance()
157 rdistance_[arc.nextstate] = Weight::Zero(); in ShortestDistance()
Dprune.h74 idistance = new vector<Weight>(ns, Weight::Zero()); in Prune()
77 idistance->resize(ns, Weight::Zero()); in Prune()
81 fdistance = new vector<Weight>(ns, Weight::Zero()); in Prune()
84 fdistance->resize(ns, Weight::Zero()); in Prune()
110 fst->SetFinal(state, Weight::Zero()); in Prune()
174 fdistance->push_back(Weight::Zero()); in Prune()
182 idistance->push_back(Weight::Zero()); in Prune()
184 fdistance->push_back(Weight::Zero()); in Prune()
204 idistance->push_back(Weight::Zero()); in Prune()
206 fdistance->push_back(Weight::Zero()); in Prune()
Dreweight.h46 potential.push_back(Weight::Zero()); in Reweight()
66 if ((potential[state] == Weight::Zero()) || in Reweight()
67 (potential[arc.nextstate] == Weight::Zero())) in Reweight()
70 && (potential[state] != Weight::Zero())) in Reweight()
74 && (potential[arc.nextstate] != Weight::Zero())) in Reweight()
80 && (potential[state] != Weight::Zero())) in Reweight()
88 (potential[fst->Start()] != Weight::Zero())) { in Reweight()
Dshortest-path.h82 Weight f_distance = Weight::Zero(); in SingleShortestPath()
96 distance->push_back(Weight::Zero()); in SingleShortestPath()
99 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
103 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
117 distance->push_back(Weight::Zero()); in SingleShortestPath()
120 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), in SingleShortestPath()
137 if (ifst.Final(s) != Weight::Zero()) { in SingleShortestPath()
265 distance->push_back(Weight::Zero()); in ShortestPath()
289 pairs.push_back(Pair(kNoStateId, Weight::Zero())); in ShortestPath()
322 if (finalw != Weight::Zero()) { in ShortestPath()
Dmap.h123 fst->SetFinal(s, Weight::Zero()); in Map()
134 final_arc.weight != Weight::Zero()) in Map()
137 fst->SetFinal(s, Weight::Zero()); in Map()
205 ofst->SetFinal(s, B::Weight::Zero()); in Map()
214 final_arc.weight != B::Weight::Zero()) in Map()
217 ofst->SetFinal(s, B::Weight::Zero()); in Map()
321 SetFinal(s, Weight::Zero()); in Final()
326 SetFinal(s, s == superfinal_ ? Weight::One() : Weight::Zero()); in Final()
371 if (!HasFinal(s) || Final(s) == Weight::Zero()) in Expand()
391 final_arc.weight != B::Weight::Zero()) in Expand()
[all …]
Dproduct-weight.h39 static const ProductWeight<W1, W2> &Zero() { in Zero() function
40 static const ProductWeight<W1, W2> zero(W1::Zero(), W2::Zero()); in Zero()
159 W1 w1 = W1::Zero();
163 W2 w2 = W2::Zero();
/external/fdlibm/
De_fmod.c23 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
25 static double one = 1.0, Zero[] = {0.0, -0.0,}; variable
53 return Zero[(unsigned)sx>>31]; /* |x|=|y| return x*0*/
107 return Zero[(unsigned)sx>>31];
116 return Zero[(unsigned)sx>>31];
/external/openfst/src/test/
Dweight-tester.h76 CHECK(Plus(w1, Weight::Zero()) == w1); in TestSemiring()
77 CHECK(Plus(Weight::Zero(), w1) == w1); in TestSemiring()
94 CHECK(Times(w1, Weight::Zero()) == Weight::Zero()); in TestSemiring()
95 CHECK(Times(Weight::Zero(), w1) == Weight::Zero()); in TestSemiring()
/external/qemu-pc-bios/bochs/bios/
Dacpi-dsdt.dsl475 Store (Zero, TMP)
522 Store (Zero, TMP)
569 Store (Zero, TMP)
616 Store (Zero, TMP)
638 Zero, /* reserved */
639 Zero /* reserved */
643 Zero, /* PM1a_CNT.SLP_TYP */
644 Zero, /* PM1b_CNT.SLP_TYP */
645 Zero, /* reserved */
646 Zero /* reserved */
[all …]
/external/webkit/Source/JavaScriptCore/assembler/
DMacroAssemblerX86Common.h57 Zero = X86Assembler::ConditionE, enumerator
653 failureCases.append(branchTest32(Zero, dest)); in branchConvertDoubleToInt32()
863 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed)); in branchTest32()
870 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
883 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
893 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
905 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
917 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
929 ASSERT((cond == Zero) || (cond == NonZero) || (cond == Signed));
966 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
[all …]

12345678910>>...13