Home
last modified time | relevance | path

Searched refs:Elt (Results 1 – 25 of 70) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallVector.h211 void push_back(const T &Elt) { in push_back() argument
214 ::new ((void*) this->end()) T(Elt); in push_back()
218 void push_back(T &&Elt) { in push_back() argument
221 ::new ((void*) this->end()) T(::std::move(Elt)); in push_back()
306 void push_back(const T &Elt) { in push_back() argument
309 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); in push_back()
404 void append(size_type NumInputs, const T &Elt) { in append() argument
410 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
418 void assign(size_type NumElts, const T &Elt) { in assign() argument
423 std::uninitialized_fill(this->begin(), this->end(), Elt); in assign()
[all …]
DSmallString.h46 void assign(size_t NumElts, char Elt) { in assign() argument
47 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
79 void append(size_t NumInputs, char Elt) { in append() argument
80 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallVector.h211 void push_back(const T &Elt) { in push_back() argument
214 ::new ((void*) this->end()) T(Elt); in push_back()
218 void push_back(T &&Elt) { in push_back() argument
221 ::new ((void*) this->end()) T(::std::move(Elt)); in push_back()
302 void push_back(const T &Elt) { in push_back() argument
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); in push_back()
397 void append(size_type NumInputs, const T &Elt) { in append() argument
401 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
412 void assign(size_type NumElts, const T &Elt) { in assign() argument
417 std::uninitialized_fill(this->begin(), this->end(), Elt); in assign()
[all …]
DSmallString.h45 void assign(size_t NumElts, char Elt) { in assign() argument
46 this->SmallVectorImpl<char>::assign(NumElts, Elt); in assign()
78 void append(size_t NumInputs, char Elt) { in append() argument
79 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
DTinyPtrVector.h312 iterator insert(iterator I, const EltTy &Elt) { in insert() argument
316 push_back(Elt); in insert()
323 Val = Elt; in insert()
328 return Val.template get<VecTy*>()->insert(I, Elt); in insert()
DEquivalenceClasses.h77 ECValue(const ElemTy &Elt) in ECValue() argument
78 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {} in ECValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp166 Constant *Elt = this->getAggregateElement(i); in isNotOneValue() local
167 if (!Elt || !Elt->isNotOneValue()) in isNotOneValue()
216 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue() local
217 if (!Elt || !Elt->isNotMinSignedValue()) in isNotMinSignedValue()
388 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement()
390 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr; in getAggregateElement()
393 return Elt < CAZ->getNumElements() ? CAZ->getElementValue(Elt) : nullptr; in getAggregateElement()
396 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement()
399 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
404 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement()
[all …]
DConstantFold.h38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
DConstantFold.cpp828 Constant *Elt, in ConstantFoldInsertElementInstruction() argument
852 Result.push_back(Elt); in ConstantFoldInsertElementInstruction()
887 int Elt = ShuffleVectorInst::getMaskValue(Mask, i); in ConstantFoldShuffleVectorInstruction() local
888 if (Elt == -1) { in ConstantFoldShuffleVectorInstruction()
893 if (unsigned(Elt) >= SrcNumElts*2) in ConstantFoldShuffleVectorInstruction() local
895 else if (unsigned(Elt) >= SrcNumElts) { in ConstantFoldShuffleVectorInstruction() local
899 ConstantInt::get(Ty, Elt - SrcNumElts)); in ConstantFoldShuffleVectorInstruction()
902 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt)); in ConstantFoldShuffleVectorInstruction()
987 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); in ConstantFoldUnaryInstruction() local
989 Result.push_back(ConstantExpr::get(Opcode, Elt)); in ConstantFoldUnaryInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallPtrSet.cpp110 const void *Elt = *BucketPtr; in Grow() local
111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp132 const void *Elt = *BucketPtr; in Grow() local
133 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) in Grow()
134 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); in Grow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h100 Constant *getAggregateElement(unsigned Elt) const;
101 Constant *getAggregateElement(Constant *Elt) const;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_vector_ops_main.cpp80 ElementTy Elt = TestElements[EI]; in testInsertElement() local
82 Ty ResultLlc = VectorOps<T>::insertelement(Vect, Elt, I); in testInsertElement()
83 Ty ResultSz = VectorOps<T>::Subzero_insertelement(Vect, Elt, I); in testInsertElement()
91 << ", Element=" << (typename VectorOps<T>::CastTy)Elt in testInsertElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h133 Constant *getAggregateElement(unsigned Elt) const;
134 Constant *getAggregateElement(Constant *Elt) const;
DConstants.h359 Constant *getStructElement(unsigned Elt) const;
517 static Constant *getSplat(unsigned NumElts, Constant *Elt);
681 const char *getElementPointer(unsigned Elt) const;
793 static Constant *getSplat(unsigned NumElts, Constant *Elt);
1199 static Constant *getInsertElement(Constant *Vec, Constant *Elt, Constant *Idx,
1305 UndefValue *getStructElement(unsigned Elt) const;
DPatternMatch.h238 Constant *Elt = C->getAggregateElement(i); in match() local
239 if (!Elt) in match()
241 if (isa<UndefValue>(Elt)) in match()
243 auto *CI = dyn_cast<ConstantInt>(Elt); in match()
297 Constant *Elt = C->getAggregateElement(i); in match() local
298 if (!Elt) in match()
300 if (isa<UndefValue>(Elt)) in match()
302 auto *CF = dyn_cast<ConstantFP>(Elt); in match()
1267 m_InsertElement(const Val_t &Val, const Elt_t &Elt, const Idx_t &Idx) { in m_InsertElement() argument
1269 Val, Elt, Idx); in m_InsertElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1156 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts() local
1157 if (!Elt) return nullptr; in SimplifyDemandedVectorElts()
1159 if (isa<UndefValue>(Elt)) { // Already undef. in SimplifyDemandedVectorElts()
1163 Elts.push_back(Elt); in SimplifyDemandedVectorElts()
1696 for (unsigned Elt = 0; Elt != InnerVWidthPerLane; ++Elt) { in SimplifyDemandedVectorElts() local
1697 unsigned Idx = LaneIdx + Elt + InnerVWidthPerLane * OpNum; in SimplifyDemandedVectorElts()
1699 OpDemandedElts.setBit((Lane * InnerVWidthPerLane) + Elt); in SimplifyDemandedVectorElts()
DInstCombineVectorOps.cpp122 Value *Elt = EI.getIndexOperand(); in scalarizePHI() local
131 ExtractElementInst::Create(B0->getOperand(opId), Elt, in scalarizePHI()
140 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); in scalarizePHI()
180 if (Value *Elt = findScalarElement(X, ExtIndexC)) in foldBitcastExtElt() local
181 return new BitCastInst(Elt, DestTy); in foldBitcastExtElt()
410 if (auto *Elt = dyn_cast<ConstantInt>(Index)) { in visitExtractElementInst() local
411 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue()); in visitExtractElementInst()
736 int Elt = Shuf.getMaskValue(i); in isShuffleEquivalentToSelect() local
737 if (Elt != -1 && Elt != i && Elt != i + VecSize) in isShuffleEquivalentToSelect()
DInstCombineCalls.cpp105 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec() local
106 assert((isa<ConstantInt>(Elt) || isa<ConstantFP>(Elt)) && in getNegativeIsTrueBoolVec()
109 ? cast<ConstantInt>(Elt)->isNegative() in getNegativeIsTrueBoolVec()
110 : cast<ConstantFP>(Elt)->isNegative(); in getNegativeIsTrueBoolVec()
605 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt) in simplifyX86pack() local
606 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane)); in simplifyX86pack()
607 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt) in simplifyX86pack() local
608 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane) + NumSrcElts); in simplifyX86pack()
802 APInt Elt = CI0->getValue(); in simplifyX86extrq() local
803 Elt.lshrInPlace(Index); in simplifyX86extrq()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1612 GenericValue Elt; in executeBitCastInst() local
1613 Elt.IntVal = 0; in executeBitCastInst()
1614 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()
1623 Elt.IntVal |= Tmp; in executeBitCastInst()
1625 TempDst.AggregateVal.push_back(Elt); in executeBitCastInst()
1633 GenericValue Elt; in executeBitCastInst() local
1634 Elt.IntVal = Elt.IntVal.zext(SrcBitSize); in executeBitCastInst()
1635 Elt.IntVal = TempSrc.AggregateVal[i].IntVal; in executeBitCastInst()
1636 Elt.IntVal.lshrInPlace(ShiftAmt); in executeBitCastInst()
1639 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp203 while (auto Elt = C.getAggregateElement(Idx++)) { in getOrCreateVRegs() local
204 auto EltRegs = getOrCreateVRegs(*Elt); in getOrCreateVRegs()
1878 Register Elt = getOrCreateVReg(*U.getOperand(1)); in translateInsertElement() local
1881 Regs.push_back(Elt); in translateInsertElement()
1884 MIRBuilder.buildCopy(Regs[0], Elt); in translateInsertElement()
1891 Register Elt = getOrCreateVReg(*U.getOperand(1)); in translateInsertElement() local
1893 MIRBuilder.buildInsertVectorElement(Res, Val, Elt, Idx); in translateInsertElement()
1902 Register Elt = getOrCreateVReg(*U.getOperand(0)); in translateExtractElement() local
1905 Regs.push_back(Elt); in translateExtractElement()
1908 MIRBuilder.buildCopy(Regs[0], Elt); in translateExtractElement()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp70 auto *Elt = cast<ConstantInt>(COp); in extractConstantMask() local
71 RawMask[i] = Elt->getValue().getZExtValue(); in extractConstantMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSpillPlacement.cpp187 for (const auto &Elt : Links) { in getDissentingNeighbors() local
188 unsigned n = Elt.second; in getDissentingNeighbors()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DJSON.h302 template <typename Elt>
303 Value(const std::vector<Elt> &C) : Value(json::Array(C)) {} in Value()
307 template <typename Elt>
308 Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {} in Value()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1757 APInt Elt = CDS->getElementAsAPInt(i); in computeKnownBits() local
1758 Known.Zero &= ~Elt; in computeKnownBits()
1759 Known.One &= Elt; in computeKnownBits()
1775 const APInt &Elt = ElementCI->getValue(); in computeKnownBits() local
1776 Known.Zero &= ~Elt; in computeKnownBits()
1777 Known.One &= Elt; in computeKnownBits()
2117 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero() local
2118 if (!Elt || Elt->isNullValue()) in isKnownNonZero()
2120 if (!isa<UndefValue>(Elt) && !isa<ConstantInt>(Elt)) in isKnownNonZero()
2445 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant() local
[all …]

123