Home
last modified time | relevance | path

Searched refs:V2 (Results 1 – 25 of 129) sorted by relevance

123456

/external/clang/lib/StaticAnalyzer/Core/
DBasicValueFactory.cpp150 const llvm::APSInt& V1, const llvm::APSInt& V2) { in evalAPSInt() argument
157 return &getValue( V1 * V2 ); in evalAPSInt()
160 return &getValue( V1 / V2 ); in evalAPSInt()
163 return &getValue( V1 % V2 ); in evalAPSInt()
166 return &getValue( V1 + V2 ); in evalAPSInt()
169 return &getValue( V1 - V2 ); in evalAPSInt()
178 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
181 uint64_t Amt = V2.getZExtValue(); in evalAPSInt()
196 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
199 uint64_t Amt = V2.getZExtValue(); in evalAPSInt()
[all …]
/external/llvm/include/llvm/
DInstrTypes.h178 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
180 return Create(Instruction::OPC, V1, V2, Name);\
184 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
186 return Create(Instruction::OPC, V1, V2, Name, BB);\
190 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
192 return Create(Instruction::OPC, V1, V2, Name, I);\
196 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2,
198 BinaryOperator *BO = Create(Opc, V1, V2, Name);
202 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2,
204 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dvec_perf_shuffle.ll5 %V2 = load <4 x float>* %P2 ; <<4 x float>> [#uses=1]
6 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 undef, i32 undef, i32 7, i32…
12 %V2 = load <4 x float>* %P2 ; <<4 x float>> [#uses=1]
13 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 0, i32 undef, i32 5 >…
19 %V2 = load <4 x float>* %P2 ; <<4 x float>> [#uses=1]
20 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 undef, i32 7, i32 3 >…
26 %V2 = load <4 x float>* %P2 ; <<4 x float>> [#uses=1]
27 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 3, i32 7, i32 7, i32 4 > ; …
33 %V2 = load <4 x float>* %P2 ; <<4 x float>> [#uses=1]
34 …%V3 = shufflevector <4 x float> %V1, <4 x float> %V2, <4 x i32> < i32 4, i32 4, i32 5, i32 0 > ; …
/external/llvm/test/CodeGen/X86/
Dfp_load_cast_fold.ll5 %V2 = sitofp i16 %V to double ; <double> [#uses=1]
6 ret double %V2
11 %V2 = sitofp i32 %V to double ; <double> [#uses=1]
12 ret double %V2
17 %V2 = sitofp i64 %V to double ; <double> [#uses=1]
18 ret double %V2
/external/llvm/lib/Support/
DFileUtilities.cpp86 double V1 = 0.0, V2 = 0.0; in CompareNumbers() local
105 V2 = strtod(F2P, const_cast<char**>(&F2NumEnd)); in CompareNumbers()
123 V2 = strtod(&StrTmp[0], const_cast<char**>(&F2NumEnd)); in CompareNumbers()
140 if (AbsTolerance < std::abs(V1-V2)) { in CompareNumbers()
143 if (V2) in CompareNumbers()
144 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers()
146 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers()
152 << "Compared: " << V1 << " and " << V2 << '\n' in CompareNumbers()
153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
/external/llvm/test/Transforms/EarlyCSE/
Dbasic.ll39 %V2 = load i32* %P
40 %Diff = sub i32 %V1, %V2
54 %V2 = load i32* %P
55 %Diff = sub i32 %V1, %V2
72 %V2 = load i32* %P
73 %Diff = sub i32 %V1, %V2
85 %V2 = call i32 @func(i32* %P)
86 %Diff = sub i32 %V1, %V2
115 %V2 = call i32 @func(i32* %P) readnone
116 %Diff = sub i32 %V1, %V2
/external/opencv/cxcore/src/
Dcxjacobieigens.cpp111 float *A2 = A + n * (p + 1), *V2 = V + n * (p + 1); in icvJacobiEigens_32f() local
113 for( q = p + 1; q < n; q++, A2 += n, V2 += n ) in icvJacobiEigens_32f()
143 Vqi = V2[i]; in icvJacobiEigens_32f()
147 V2[i] = (float) (Vqi * c + Vpi * s); in icvJacobiEigens_32f()
154 Vqi = V2[i]; in icvJacobiEigens_32f()
158 V2[i] = (float) (Vqi * c + Vpi * s); in icvJacobiEigens_32f()
165 Vqi = V2[i]; in icvJacobiEigens_32f()
169 V2[i] = (float) (Vqi * c + Vpi * s); in icvJacobiEigens_32f()
223 double *A1 = A, *V1 = V, *A2 = A, *V2 = V; in icvJacobiEigens_64d() local
262 V2 = V + n * (p + 1); in icvJacobiEigens_64d()
[all …]
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp526 const Value *V2, uint64_t V2Size,
534 const Value *V2, uint64_t V2Size,
540 const Value *V2, uint64_t V2Size,
545 const Value *V2, uint64_t V2Size,
832 const Value *V2, uint64_t V2Size, in aliasGEP() argument
841 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) { in aliasGEP()
885 V2, V2Size, V2TBAAInfo); in aliasGEP()
984 const Value *V2, uint64_t V2Size, in aliasSelect() argument
988 if (const SelectInst *SI2 = dyn_cast<SelectInst>(V2)) in aliasSelect()
1004 aliasCheck(V2, V2Size, V2TBAAInfo, SI->getTrueValue(), SISize, SITBAAInfo); in aliasSelect()
[all …]
/external/easymock/src/org/easymock/
DMockControl.java467 public <V1, V2 extends V1> void expectAndReturn(V1 ignored, V2 value) { in expectAndReturn()
487 public <V1, V2 extends V1> void expectAndReturn(V1 ignored, V2 value, in expectAndReturn()
510 public <V1, V2 extends V1> void expectAndReturn(V1 ignored, V2 value, in expectAndReturn()
532 public <V1, V2 extends V1> void expectAndReturn(V1 ignored, V2 value, in expectAndReturn()
610 public <V1, V2 extends V1> void expectAndDefaultReturn(V1 ignored, V2 value) { in expectAndDefaultReturn()
/external/llvm/lib/VMCore/
DUse.cpp24 Value *V2(RHS.Val); in swap() local
25 if (V1 != V2) { in swap()
30 if (V2) { in swap()
32 Val = V2; in swap()
33 V2->addUse(*this); in swap()
DConstantFold.cpp693 Constant *V1, Constant *V2) { in ConstantFoldSelectInstruction() argument
695 return CB->getZExtValue() ? V1 : V2; in ConstantFoldSelectInstruction()
698 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
706 ConstantVector *CP2 = dyn_cast<ConstantVector>(V2); in ConstantFoldSelectInstruction()
709 (CP2 || isa<ConstantAggregateZero>(V2))) { in ConstantFoldSelectInstruction()
735 return V2; in ConstantFoldSelectInstruction()
737 if (isa<UndefValue>(V1)) return V2; in ConstantFoldSelectInstruction()
738 if (isa<UndefValue>(V2)) return V1; in ConstantFoldSelectInstruction()
739 if (V1 == V2) return V1; in ConstantFoldSelectInstruction()
744 return ConstantExpr::getSelect(Cond, TrueVal->getOperand(1), V2); in ConstantFoldSelectInstruction()
[all …]
DConstantFold.h36 Constant *V1, Constant *V2);
40 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2,
47 Constant *V2);
/external/clang/test/CodeGenCXX/
Dvtt-layout.cpp31 class V2 : public B1, public B2, public virtual V1 { int i; }; class
34 class C2 : public virtual V3, virtual V2 { int i; };
50 class V2 : public B1, public B2, public virtual V1 { int i; }; class
53 class C2 : public virtual V3, virtual V2 { int i; };
Dvtable-layout.cpp202 struct V2 : virtual V1 { int v1; }; struct
217 virtual V2 *f();
219 V2 *D::f() { return 0; }; in f()
946 struct V2 : virtual V1 { struct
967 struct C : virtual V1, virtual V2 {
1326 struct V2 : virtual V1 { }; struct
1344 virtual V2 *f();
1346 V2 *B::f() { return 0; } in f()
/external/clang/lib/CodeGen/
DCGValue.h42 llvm::PointerIntPair<llvm::Value *, 1, bool> V2; variable
49 bool isVolatileQualified() const { return V2.getInt(); } in isVolatileQualified()
60 return std::make_pair(V1.getPointer(), V2.getPointer()); in getComplexVal()
73 ER.V2.setInt(false); in get()
76 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { in getComplex() argument
79 ER.V2.setPointer(V2); in getComplex()
81 ER.V2.setInt(false); in getComplex()
94 ER.V2.setInt(Volatile);
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp74 MVT::SimpleValueType V1 = LHSSrc->getType(0), V2 = RHSSrc->getType(0); in operator ()() local
75 if (MVT(V1).isVector() != MVT(V2).isVector()) in operator ()()
76 return MVT(V2).isVector(); in operator ()()
78 if (MVT(V1).isFloatingPoint() != MVT(V2).isFloatingPoint()) in operator ()()
79 return MVT(V2).isFloatingPoint(); in operator ()()
/external/libpcap/packaging/
Dpcap.spec39 V2=`echo 0.9.4 | sed 's/\\.[^\.]*\.[^\.]*$//g'`
41 if test "$V2" -ne "$V1"; then
42 ln -sf libpcap.so.$V1 libpcap.so.$V2
43 ln -sf libpcap.so.$V2 libpcap.so
Dpcap.spec.in39 V2=`echo @VERSION@ | sed 's/\\.[^\.]*\.[^\.]*$//g'`
41 if test "$V2" -ne "$V1"; then
42 ln -sf libpcap.so.$V1 libpcap.so.$V2
43 ln -sf libpcap.so.$V2 libpcap.so
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h166 const Value *V2, uint64_t V2Size) { in alias() argument
167 return alias(Location(V1, V1Size), Location(V2, V2Size)); in alias()
171 AliasResult alias(const Value *V1, const Value *V2) { in alias() argument
172 return alias(V1, UnknownSize, V2, UnknownSize); in alias()
183 const Value *V2, uint64_t V2Size) { in isNoAlias() argument
184 return isNoAlias(Location(V1, V1Size), Location(V2, V2Size)); in isNoAlias()
193 bool isMustAlias(const Value *V1, const Value *V2) { in isMustAlias() argument
194 return alias(V1, 1, V2, 1) == MustAlias; in isMustAlias()
/external/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp35 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2"); in TEST() local
45 const SCEV *S2 = SE.getSCEV(V2); in TEST()
65 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2); in TEST()
68 V2->replaceAllUsesWith(V1); in TEST()
/external/guava/src/com/google/common/collect/
DMaps.java735 public static <K, V1, V2> Map<K, V2> transformValues(
736 Map<K, V1> fromMap, Function<? super V1, V2> function) {
737 return new TransformedValuesMap<K, V1, V2>(fromMap, function);
740 private static class TransformedValuesMap<K, V1, V2>
741 extends AbstractMap<K, V2> {
743 final Function<? super V1, V2> function;
745 TransformedValuesMap(Map<K, V1> fromMap, Function<? super V1, V2> function)
759 @Override public V2 get(Object key) {
765 @Override public V2 remove(Object key) {
777 @Override public Set<Entry<K, V2>> entrySet() {
[all …]
/external/llvm/test/Transforms/InstCombine/
D2006-03-30-ExtractElement.ll4 … %V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3 ; <<4 x float>> [#uses=1]
5 %R = extractelement <4 x float> %V2, i32 2 ; <float> [#uses=1]
/external/llvm/test/Assembler/
Dselect.ll4 define i32 @test(i1 %C, i32 %V1, i32 %V2) {
6 %V = select i1 %X, i32 %V1, i32 %V2 ; <i32> [#uses=1]
/external/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/
Dp6.cpp10 template<int V1, int V2> void f0(A0<V1, V2>) { } // expected-error{{redefinition}} in f0() argument
/external/llvm/test/Analysis/BasicAA/
D2003-09-19-LocalArgument.ll9 %V2 = load i32* %P
10 %Diff = sub i32 %V1, %V2

123456