Home
last modified time | relevance | path

Searched refs:CV (Results 1 – 25 of 416) sorted by relevance

12345678910>>...17

/external/swiftshader/third_party/LLVM/unittests/Support/
DValueHandleTest.cpp69 Value *CV = ConstantV; in TEST_F() local
70 EXPECT_EQ(BV < CV, BitcastWVH < ConstantWVH); in TEST_F()
71 EXPECT_EQ(BV <= CV, BitcastWVH <= ConstantWVH); in TEST_F()
72 EXPECT_EQ(BV > CV, BitcastWVH > ConstantWVH); in TEST_F()
73 EXPECT_EQ(BV >= CV, BitcastWVH >= ConstantWVH); in TEST_F()
75 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH); in TEST_F()
76 EXPECT_EQ(BV <= CV, BitcastV.get() <= ConstantWVH); in TEST_F()
77 EXPECT_EQ(BV > CV, BitcastV.get() > ConstantWVH); in TEST_F()
78 EXPECT_EQ(BV >= CV, BitcastV.get() >= ConstantWVH); in TEST_F()
80 EXPECT_EQ(BV < CV, BitcastWVH < ConstantV); in TEST_F()
[all …]
/external/llvm/unittests/IR/
DValueHandleTest.cpp65 Value *CV = ConstantV; in TEST_F() local
66 EXPECT_EQ(BV < CV, BitcastWVH < ConstantWVH); in TEST_F()
67 EXPECT_EQ(BV <= CV, BitcastWVH <= ConstantWVH); in TEST_F()
68 EXPECT_EQ(BV > CV, BitcastWVH > ConstantWVH); in TEST_F()
69 EXPECT_EQ(BV >= CV, BitcastWVH >= ConstantWVH); in TEST_F()
71 EXPECT_EQ(BV < CV, BitcastV.get() < ConstantWVH); in TEST_F()
72 EXPECT_EQ(BV <= CV, BitcastV.get() <= ConstantWVH); in TEST_F()
73 EXPECT_EQ(BV > CV, BitcastV.get() > ConstantWVH); in TEST_F()
74 EXPECT_EQ(BV >= CV, BitcastV.get() >= ConstantWVH); in TEST_F()
76 EXPECT_EQ(BV < CV, BitcastWVH < ConstantV); in TEST_F()
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp202 ValueVector &CV = (CachePtr ? *CachePtr : Tmp); in operator []() local
204 if (CV[I]) in operator []()
205 return CV[I]; in operator []()
208 if (!CV[0]) { in operator []()
212 CV[0] = Builder.CreateBitCast(V, Ty, V->getName() + ".i0"); in operator []()
215 CV[I] = Builder.CreateConstGEP1_32(nullptr, CV[0], I, in operator []()
231 CV[J] = Insert->getOperand(1); in operator []()
232 return CV[J]; in operator []()
233 } else if (!CV[J]) { in operator []()
237 CV[J] = Insert->getOperand(1); in operator []()
[all …]
/external/python/cpython3/Lib/test/
Dann_module2.py33 class CV: class
36 CV.var = CV()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.cpp448 void ELFWriter::EmitGlobalConstant(const Constant *CV, ELFSection &GblS) { in EmitGlobalConstant() argument
450 unsigned Size = TD->getTypeAllocSize(CV->getType()); in EmitGlobalConstant()
452 if (const ConstantArray *CVA = dyn_cast<ConstantArray>(CV)) { in EmitGlobalConstant()
456 } else if (isa<ConstantAggregateZero>(CV)) { in EmitGlobalConstant()
459 } else if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) { in EmitGlobalConstant()
462 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in EmitGlobalConstant()
475 } else if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in EmitGlobalConstant()
485 } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(CV)) { in EmitGlobalConstant()
490 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) { in EmitGlobalConstant()
506 } else if (CV->getType()->getTypeID() == Type::PointerTyID) { in EmitGlobalConstant()
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVType.h144 SPIRVCapVec CV; in getRequiredCapability() local
146 CV.push_back(CapabilityInt16); in getRequiredCapability()
148 CV.push_back(CapabilityInt64); in getRequiredCapability()
149 return CV; in getRequiredCapability()
175 SPIRVCapVec CV; in getRequiredCapability() local
177 CV.push_back(CapabilityFloat16); in getRequiredCapability()
179 CV.push_back(CapabilityFloat64); in getRequiredCapability()
180 return CV; in getRequiredCapability()
420 SPIRVCapVec CV; in getRequiredCapability() local
421 CV.push_back(CapabilityImageBasic); in getRequiredCapability()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1408 static const MCExpr *LowerConstant(const Constant *CV, AsmPrinter &AP) { in LowerConstant() argument
1411 if (CV->isNullValue() || isa<UndefValue>(CV)) in LowerConstant()
1414 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) in LowerConstant()
1417 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) in LowerConstant()
1420 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) in LowerConstant()
1423 const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV); in LowerConstant()
1484 Op = ConstantExpr::getIntegerCast(Op, TD.getIntPtrType(CV->getContext()), in LowerConstant()
1616 static void EmitGlobalConstantVector(const ConstantVector *CV, in EmitGlobalConstantVector() argument
1618 for (unsigned i = 0, e = CV->getType()->getNumElements(); i != e; ++i) in EmitGlobalConstantVector()
1619 EmitGlobalConstantImpl(CV->getOperand(i), AddrSpace, AP); in EmitGlobalConstantVector()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1742 const MCExpr *AsmPrinter::lowerConstant(const Constant *CV) { in lowerConstant() argument
1745 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstant()
1748 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) in lowerConstant()
1751 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) in lowerConstant()
1754 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) in lowerConstant()
1757 const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV); in lowerConstant()
1809 Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstant()
2007 const ConstantVector *CV, AsmPrinter &AP) { in emitGlobalConstantVector() argument
2008 for (unsigned i = 0, e = CV->getType()->getNumElements(); i != e; ++i) in emitGlobalConstantVector()
2009 emitGlobalConstantImpl(DL, CV->getOperand(i), AP); in emitGlobalConstantVector()
[all …]
/external/clang/test/Sema/
Dms_class_layout.cpp134 struct CV : virtual BV { struct
135 CV();
140 struct EV : CV, DV {
/external/valgrind/drd/tests/
Dtsan_unittest.cpp131 CondVar CV; variable
385 CV.Signal(); in Waker()
396 CV.Wait(&MU); in Waiter()
513 CV.Signal(); in Waker()
525 CV.Wait(&MU); in Waiter()
565 CV.Signal(); in Waker()
577 CV.Wait(&MU); in Waiter()
578 ANNOTATE_CONDVAR_LOCK_WAIT(&CV, &MU); in Waiter()
755 CV.Signal(); in Worker()
767 CV.Wait(&MU); in Parent()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h100 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() local
102 dyn_cast_or_null<ConstantInt>(CV->getSplatValue())) { in match()
146 if (const ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() local
147 if (ConstantInt *CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue())) in match()
166 if (const ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() local
167 if (ConstantInt *CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue())) in match()
216 if (Class *CV = dyn_cast<Class>(V)) { in match() local
217 VR = CV; in match()
253 if (ConstantInt *CV = dyn_cast<ConstantInt>(V)) in match() local
254 if (CV->getBitWidth() <= 64) { in match()
[all …]
/external/icu/icu4c/source/data/unit/
Des_US.txt197 dnam{"CV"}
198 one{"{0} CV"}
199 other{"{0} CV"}
Des_MX.txt299 dnam{"CV"}
300 one{"{0} CV"}
301 other{"{0} CV"}
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h260 virtual const MCExpr *lowerConstant(const Constant *CV);
263 void EmitGlobalConstant(const DataLayout &DL, const Constant *CV);
326 virtual void EmitXXStructor(const DataLayout &DL, const Constant *CV) { in EmitXXStructor() argument
327 EmitGlobalConstant(DL, CV); in EmitXXStructor()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp76 const MCExpr *lowerConstant(const Constant *CV) override;
265 const MCExpr *WebAssemblyAsmPrinter::lowerConstant(const Constant *CV) { in lowerConstant() argument
266 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) in lowerConstant()
270 return AsmPrinter::lowerConstant(CV); in lowerConstant()
/external/llvm/include/llvm/Transforms/Utils/
DEvaluator.h65 if (Constant *CV = dyn_cast<Constant>(V)) return CV; in getVal() local
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_1_2_3.pass.cpp138 template <class ClassType, class CallSig, int Arity, class CV,
162 CV tag; in doTest()
242 template <class Sig, int Arity, class CV>
243 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {};
246 template <class Sig, int Arity, class CV, bool RValue = false>
247 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, true> {};
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp131 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad() local
132 assert(CV && "Constant expected."); in visitLoad()
133 SimplifiedValues[&I] = CV; in visitLoad()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp334 ConstantInt *CV = dyn_cast<ConstantInt>(RHS); in calcZeroHeuristics() local
335 if (!CV) in calcZeroHeuristics()
339 if (CV->isZero()) { in calcZeroHeuristics()
360 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
364 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
DConstantFolding.cpp67 ConstantVector *CV = dyn_cast<ConstantVector>(C); in FoldBitCast() local
68 if (CV == 0) in FoldBitCast()
73 unsigned NumSrcElt = CV->getNumOperands(); in FoldBitCast()
77 Type *SrcEltTy = CV->getType()->getElementType(); in FoldBitCast()
111 CV = dyn_cast<ConstantVector>(C); in FoldBitCast()
112 if (!CV) // If VMCore wasn't able to fold it, bail out. in FoldBitCast()
134 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
158 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(i)); in FoldBitCast()
331 if (ConstantVector *CV = dyn_cast<ConstantVector>(C)) { in ReadDataFromGlobal() local
332 uint64_t EltSize = TD.getTypeAllocSize(CV->getType()->getElementType()); in ReadDataFromGlobal()
[all …]
/external/llvm/lib/IR/
DConstants.cpp50 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isNegativeZeroValue() local
51 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
55 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isNegativeZeroValue() local
56 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
76 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isZeroValue() local
77 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
81 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isZeroValue() local
82 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
115 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isAllOnesValue() local
116 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()
[all …]
/external/cblas/testing/
Dc_zblat1.f90 COMPLEX*16 CTRUE5(8,5,2), CTRUE6(8,5,2), CV(8,5,2), CX(8), local
106 DATA ((CV(I,J,1),I=1,8),J=1,5)/(0.1D0,0.1D0),
120 DATA ((CV(I,J,2),I=1,8),J=1,5)/(0.1D0,0.1D0),
206 CX(I) = CV(I,NP1,INCX)
/external/eigen/blas/testing/
Dzblat1.f132 COMPLEX*16 CTRUE5(8,5,2), CTRUE6(8,5,2), CV(8,5,2), CX(8), local
148 DATA ((CV(I,J,1),I=1,8),J=1,5)/(0.1D0,0.1D0),
162 DATA ((CV(I,J,2),I=1,8),J=1,5)/(0.1D0,0.1D0),
248 CX(I) = CV(I,NP1,INCX)
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp671 void CppWriter::printConstant(const Constant *CV) { in printConstant() argument
675 if (isa<GlobalValue>(CV) || ValueNames.find(CV) != ValueNames.end()) in printConstant()
678 std::string constName(getCppName(CV)); in printConstant()
679 std::string typeName(getCppName(CV->getType())); in printConstant()
681 if (isa<GlobalValue>(CV)) { in printConstant()
686 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in printConstant()
692 } else if (isa<ConstantAggregateZero>(CV)) { in printConstant()
695 } else if (isa<ConstantPointerNull>(CV)) { in printConstant()
698 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in printConstant()
702 } else if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { in printConstant()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAsmWriter.cpp697 static void WriteConstantInternal(raw_ostream &Out, const Constant *CV, in WriteConstantInternal() argument
701 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in WriteConstantInternal()
710 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in WriteConstantInternal()
809 if (isa<ConstantAggregateZero>(CV)) { in WriteConstantInternal()
814 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) { in WriteConstantInternal()
825 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { in WriteConstantInternal()
855 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) { in WriteConstantInternal()
885 if (const ConstantVector *CP = dyn_cast<ConstantVector>(CV)) { in WriteConstantInternal()
905 if (isa<ConstantPointerNull>(CV)) { in WriteConstantInternal()
910 if (isa<UndefValue>(CV)) { in WriteConstantInternal()
[all …]

12345678910>>...17