Home
last modified time | relevance | path

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

12345678

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DBasicValueFactory.cpp251 const llvm::APSInt& V1, const llvm::APSInt& V2) { in evalAPSInt() argument
257 return &getValue( V1 * V2 ); in evalAPSInt()
260 if (V2 == 0) // Avoid division by zero in evalAPSInt()
262 return &getValue( V1 / V2 ); in evalAPSInt()
265 if (V2 == 0) // Avoid division by zero in evalAPSInt()
267 return &getValue( V1 % V2 ); in evalAPSInt()
270 return &getValue( V1 + V2 ); in evalAPSInt()
273 return &getValue( V1 - V2 ); in evalAPSInt()
279 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
282 uint64_t Amt = V2.getZExtValue(); in evalAPSInt()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DAPSInt.h357 inline bool operator==(int64_t V1, const APSInt &V2) { return V2 == V1; }
358 inline bool operator!=(int64_t V1, const APSInt &V2) { return V2 != V1; }
359 inline bool operator<=(int64_t V1, const APSInt &V2) { return V2 >= V1; }
360 inline bool operator>=(int64_t V1, const APSInt &V2) { return V2 <= V1; }
361 inline bool operator<(int64_t V1, const APSInt &V2) { return V2 > V1; }
362 inline bool operator>(int64_t V1, const APSInt &V2) { return V2 < V1; }
DEquivalenceClasses.h238 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { in unionSets() argument
239 iterator V1I = insert(V1), V2I = insert(V2); in unionSets()
264 bool isEquivalent(const ElemTy &V1, const ElemTy &V2) const { in isEquivalent() argument
266 if (V1 == V2) in isEquivalent()
269 return It != member_end() && It == findLeader(V2); in isEquivalent()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstrTypes.h229 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
231 return Create(Instruction::OPC, V1, V2, Name);\
235 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
237 return Create(Instruction::OPC, V1, V2, Name, BB);\
241 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
243 return Create(Instruction::OPC, V1, V2, Name, I);\
248 CreateWithCopiedFlags(BinaryOps Opc, Value *V1, Value *V2, Instruction *CopyO,
251 BinaryOperator *BO = Create(Opc, V1, V2, Name, InsertBefore);
256 static BinaryOperator *CreateFAddFMF(Value *V1, Value *V2,
259 return CreateWithCopiedFlags(Instruction::FAdd, V1, V2, FMFSource, Name);
[all …]
DConstantFold.h40 Constant *V1, Constant *V2);
44 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2,
52 Constant *V2);
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Dpod_char_traits.h59 template<typename V2>
61 from(const V2& v) in from()
67 template<typename V2>
68 static V2
71 V2 ret = { static_cast<V2>(c.value) }; in to()
/openbsd/src/gnu/llvm/llvm/lib/Support/
Dxxhash.cpp80 uint64_t V2 = Seed + PRIME64_2; in xxHash64() local
87 V2 = round(V2, endian::read64le(P)); in xxHash64()
95 H64 = rotl64(V1, 1) + rotl64(V2, 7) + rotl64(V3, 12) + rotl64(V4, 18); in xxHash64()
97 H64 = mergeRound(H64, V2); in xxHash64()
DFileUtilities.cpp90 double V1 = 0.0, V2 = 0.0; in CompareNumbers() local
109 V2 = strtod(F2P, const_cast<char**>(&F2NumEnd)); in CompareNumbers()
127 V2 = strtod(&StrTmp[0], const_cast<char**>(&F2NumEnd)); in CompareNumbers()
144 if (AbsTolerance < std::abs(V1-V2)) { in CompareNumbers()
147 if (V2) in CompareNumbers()
148 Diff = std::abs(V1/V2 - 1.0); in CompareNumbers()
150 Diff = std::abs(V2/V1 - 1.0); in CompareNumbers()
156 << "Compared: " << V1 << " and " << V2 << '\n' in CompareNumbers()
157 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' in CompareNumbers()
DStringMap.cpp183 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey() local
184 (void)V2; in RemoveKey()
185 assert(V == V2 && "Didn't find key?"); in RemoveKey()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DConstantFold.cpp522 Constant *V1, Constant *V2) { in ConstantFoldSelectInstruction() argument
524 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
536 Constant *V2Element = ConstantExpr::getExtractElement(V2, in ConstantFoldSelectInstruction()
562 return V2; in ConstantFoldSelectInstruction()
565 if (V1 == V2) return V1; in ConstantFoldSelectInstruction()
568 return V2; in ConstantFoldSelectInstruction()
569 if (isa<PoisonValue>(V2)) in ConstantFoldSelectInstruction()
593 if (isa<UndefValue>(V1) && NotPoison(V2)) return V2; in ConstantFoldSelectInstruction()
594 if (isa<UndefValue>(V2) && NotPoison(V1)) return V1; in ConstantFoldSelectInstruction()
599 return ConstantExpr::getSelect(Cond, TrueVal->getOperand(1), V2); in ConstantFoldSelectInstruction()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp1017 const Value *V2, LocationSize V2Size, in aliasGEP() argument
1022 if (!isa<GEPOperator>(V2)) in aliasGEP()
1035 DecomposedGEP DecompGEP2 = DecomposeGEPExpression(V2, DL, &AC, DT); in aliasGEP()
1038 if (DecompGEP1.Base == GEP1 && DecompGEP2.Base == V2) in aliasGEP()
1052 if (isa<GEPOperator>(V2)) { in aliasGEP()
1087 const Value *LeftPtr = V2; in aliasGEP()
1268 const Value *V2, LocationSize V2Size, in aliasSelect() argument
1272 if (const SelectInst *SI2 = dyn_cast<SelectInst>(V2)) in aliasSelect()
1289 MemoryLocation(V2, V2Size), AAQI); in aliasSelect()
1295 MemoryLocation(V2, V2Size), AAQI); in aliasSelect()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DBasicAliasAnalysis.h118 bool isValueEqualInPotentialCycles(const Value *V1, const Value *V2,
126 const Value *V2, LocationSize V2Size,
131 const Value *V2, LocationSize V2Size, AAQueryInfo &AAQI);
134 const Value *V2, LocationSize V2Size,
137 AliasResult aliasCheck(const Value *V1, LocationSize V1Size, const Value *V2,
142 const Value *V2, LocationSize V2Size,
DAliasAnalysis.h344 AliasResult alias(const Value *V1, LocationSize V1Size, const Value *V2,
346 return alias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size));
350 AliasResult alias(const Value *V1, const Value *V2) {
352 MemoryLocation::getBeforeOrAfter(V2));
362 bool isNoAlias(const Value *V1, LocationSize V1Size, const Value *V2,
364 return isNoAlias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size));
368 bool isNoAlias(const Value *V1, const Value *V2) {
370 MemoryLocation::getBeforeOrAfter(V2));
380 bool isMustAlias(const Value *V1, const Value *V2) {
381 return alias(V1, LocationSize::precise(1), V2, LocationSize::precise(1)) ==
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DBitTracker.cpp441 const BitValue &V2 = A2[I]; in eADD() local
442 if (!V1.num() || !V2.num()) in eADD()
444 unsigned S = bool(V1) + bool(V2) + Carry; in eADD()
450 const BitValue &V2 = A2[I]; in eADD() local
454 Res[I] = BitValue::ref(V2); in eADD()
455 else if (V2.is(Carry)) in eADD()
474 const BitValue &V2 = A2[I]; in eSUB() local
475 if (!V1.num() || !V2.num()) in eSUB()
477 unsigned S = bool(V1) - bool(V2) - Borrow; in eSUB()
483 const BitValue &V2 = A2[I]; in eSUB() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysisEvaluator.cpp51 for (Value *V2 : Values) { in run()
52 StringRef NameV2 = getName(V2); in run()
56 if (PA.related(V1, V2)) in run()
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td1080 bits<5> V2;
1087 let Inst{35-32} = V2{3-0};
1093 let Inst{10} = V2{4};
1105 bits<5> V2;
1112 let Inst{35-32} = V2{3-0};
1117 let Inst{10} = V2{4};
1128 bits<5> V2;
1135 let Inst{35-32} = V2{3-0};
1141 let Inst{10} = V2{4};
1153 bits<5> V2;
[all …]
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGValue.h49 llvm::PointerIntPair<llvm::Value *, 1, bool> V2; variable
58 bool isVolatileQualified() const { return V2.getInt(); } in isVolatileQualified()
69 return std::make_pair(V1.getPointer(), V2.getPointer()); in getComplexVal()
75 auto align = reinterpret_cast<uintptr_t>(V2.getPointer()) >> AggAlignShift; in getAggregateAddress()
93 ER.V2.setInt(false); in get()
96 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { in getComplex() argument
99 ER.V2.setPointer(V2); in getComplex()
101 ER.V2.setInt(false); in getComplex()
117 ER.V2.setPointer(reinterpret_cast<llvm::Value*>(align << AggAlignShift));
118 ER.V2.setInt(isVolatile);
/openbsd/src/gnu/gcc/gcc/config/arm/
Dcirrus.md38 "cfadd64%?\\t%V0, %V1, %V2"
48 "cfadd32%?\\t%V0, %V1, %V2"
58 "cfadds%?\\t%V0, %V1, %V2"
68 "cfaddd%?\\t%V0, %V1, %V2"
78 "cfsub64%?\\t%V0, %V1, %V2"
88 "cfsub32%?\\t%V0, %V1, %V2"
98 "cfsubs%?\\t%V0, %V1, %V2"
108 "cfsubd%?\\t%V0, %V1, %V2"
118 "cfmul32%?\\t%V0, %V1, %V2"
128 "cfmul64%?\\t%V0, %V1, %V2"
[all …]
/openbsd/src/gnu/llvm/clang/lib/Headers/
Davxintrin.h1229 #define _mm256_permute2f128_pd(V1, V2, M) \ argument
1231 (__v4df)(__m256d)(V2), (int)(M)))
1270 #define _mm256_permute2f128_ps(V1, V2, M) \ argument
1272 (__v8sf)(__m256)(V2), (int)(M)))
1310 #define _mm256_permute2f128_si256(V1, V2, M) \ argument
1312 (__v8si)(__m256i)(V2), (int)(M)))
1339 #define _mm256_blend_pd(V1, V2, M) \ argument
1341 (__v4df)(__m256d)(V2), (int)(M)))
1367 #define _mm256_blend_ps(V1, V2, M) \ argument
1369 (__v8sf)(__m256)(V2), (int)(M)))
[all …]
Dshaintrin.h20 #define _mm_sha1rnds4_epu32(V1, V2, M) \ argument
21 __builtin_ia32_sha1rnds4((__v4si)(__m128i)(V1), (__v4si)(__m128i)(V2), (M))
/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp75 Register V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(MF); in initGlobalBaseReg() local
80 V2 = RegInfo.createVirtualRegister(RC); in initGlobalBaseReg()
88 BuildMI(MBB, I, DL, TII.get(Mips::SllX16), V2).addReg(V0).addImm(16); in initGlobalBaseReg()
91 .addReg(V2); in initGlobalBaseReg()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp90 static bool isEquivalent(const Value &V1, const Value &V2);
91 static bool isInverse(const Value &V1, const Value &V2);
210 bool ControlConditions::isEquivalent(const Value &V1, const Value &V2) { in isEquivalent() argument
211 return &V1 == &V2; in isEquivalent()
214 bool ControlConditions::isInverse(const Value &V1, const Value &V2) { in isInverse() argument
216 if (const CmpInst *Cmp2 = dyn_cast<CmpInst>(&V2)) { in isInverse()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86ISelLowering.cpp4393 SDValue V2) { in getMOVL() argument
4399 return DAG.getVectorShuffle(VT, dl, V1, V2, Mask); in getMOVL()
7017 static SDValue concatSubVectors(SDValue V1, SDValue V2, SelectionDAG &DAG, in concatSubVectors() argument
7019 assert(V1.getValueType() == V2.getValueType() && "subvector type mismatch"); in concatSubVectors()
7026 return insertSubVector(V, V2, SubNumElts, DAG, dl, SubVectorWidth); in concatSubVectors()
7129 SDValue V1, SDValue V2, ArrayRef<int> Mask) { in getVectorShuffle() argument
7131 (ISD::isBuildVectorOfConstantSDNodes(V2.getNode()) || V2.isUndef())) { in getVectorShuffle()
7137 SDValue V = (M < NumElts) ? V1 : V2; in getVectorShuffle()
7145 return DAG.getVectorShuffle(VT, dl, V1, V2, Mask); in getVectorShuffle()
7150 SDValue V1, SDValue V2) { in getUnpackl() argument
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/
DV2.t7 use Test2::Event::V2();
9 my $CLASS = 'Test2::Event::V2';
14 [Test2::Event::V2->non_facet_keys],
/openbsd/src/gnu/llvm/llvm/lib/Target/VE/
DVECallingConv.td107 CCAssignToReg<[V0, V1, V2, V3, V4, V5, V6, V7]>>,
110 CCAssignToReg<[V0, V1, V2, V3, V4, V5, V6, V7]>>,
128 CCAssignToReg<[V0, V1, V2, V3, V4, V5, V6, V7]>>,
131 CCAssignToReg<[V0, V1, V2, V3, V4, V5, V6, V7]>>,

12345678