Searched refs:Elt (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h133 Constant *getAggregateElement(unsigned Elt) const;
134 Constant *getAggregateElement(Constant *Elt) const;
H A 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;
H A DPatternMatch.h238 Constant *Elt = C->getAggregateElement(i); local
239 if (!Elt)
241 if (isa<UndefValue>(Elt))
243 auto *CI = dyn_cast<ConstantInt>(Elt);
297 Constant *Elt = C->getAggregateElement(i); local
298 if (!Elt)
300 if (isa<UndefValue>(Elt))
302 auto *CF = dyn_cast<ConstantFP>(Elt);
1267 m_InsertElement(const Val_t &Val, const Elt_t &Elt, const Idx_t &Idx) { argument
1269 Val, Elt, Id
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTVector.h162 void push_back(const_reference Elt, const ASTContext &C) { argument
165 new (End) T(Elt);
202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { argument
208 std::uninitialized_fill_n(this->end(), NumInputs, Elt);
219 iterator insert(const ASTContext &C, iterator I, const T &Elt) { argument
221 push_back(Elt, C);
231 *I = Elt;
241 const T &Elt) {
246 append(C, NumToInsert, Elt);
267 std::fill_n(I, NumToInsert, Elt);
240 insert(const ASTContext &C, iterator I, size_type NumToInsert, const T &Elt) argument
358 construct_range(T *S, T *E, const T &Elt) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallVector.h211 void push_back(const T &Elt) {
214 ::new ((void*) this->end()) T(Elt);
218 void push_back(T &&Elt) { argument
221 ::new ((void*) this->end()) T(::std::move(Elt));
302 void push_back(const T &Elt) { argument
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); local
396 /// Append \p NumInputs copies of \p Elt to the end.
397 void append(size_type NumInputs, const T &Elt) { argument
401 std::uninitialized_fill_n(this->end(), NumInputs, Elt);
412 void assign(size_type NumElts, const T &Elt) { argument
467 insert(iterator I, T &&Elt) argument
497 insert(iterator I, const T &Elt) argument
526 insert(iterator I, size_type NumToInsert, const T &Elt) argument
[all...]
H A DSmallString.h45 void assign(size_t NumElts, char Elt) { argument
46 this->SmallVectorImpl<char>::assign(NumElts, Elt);
78 void append(size_t NumInputs, char Elt) { argument
79 SmallVectorImpl<char>::append(NumInputs, Elt);
H A DTinyPtrVector.h312 iterator insert(iterator I, const EltTy &Elt) { argument
316 push_back(Elt);
323 Val = Elt;
328 return Val.template get<VecTy*>()->insert(I, Elt);
H A DEquivalenceClasses.h77 ECValue(const ElemTy &Elt) argument
78 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp110 const void *Elt = *BucketPtr;
111 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker())
112 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.h38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
H A DConstants.cpp166 Constant *Elt = this->getAggregateElement(i); local
167 if (!Elt || !Elt->isNotOneValue())
216 Constant *Elt = this->getAggregateElement(i); local
217 if (!Elt || !Elt->isNotMinSignedValue())
388 Constant *Constant::getAggregateElement(unsigned Elt) const {
390 return Elt < CC->getNumOperands() ? CC->getOperand(Elt) : nullptr;
393 return Elt < CA
984 rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) argument
1463 Constant *Elt = getOperand(0); local
2205 getInsertElement(Constant *Val, Constant *Elt, Constant *Idx, Type *OnlyIfReducedTy) argument
[all...]
H A DConstantFold.cpp828 Constant *Elt,
852 Result.push_back(Elt);
887 int Elt = ShuffleVectorInst::getMaskValue(Mask, i); local
888 if (Elt == -1) {
893 if (unsigned(Elt) >= SrcNumElts*2)
895 else if (unsigned(Elt) >= SrcNumElts) {
899 ConstantInt::get(Ty, Elt - SrcNumElts));
902 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt));
987 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); local
989 Result.push_back(ConstantExpr::get(Opcode, Elt));
827 ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, Constant *Idx) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h159 void push_back(const_reference Elt, BumpVectorContext &C) { argument
162 new (End) T(Elt);
202 void construct_range(T *S, T *E, const T &Elt) { argument
204 new (S) T(Elt);
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DTableGen.cpp214 for (Record *Elt : *Elts)
215 OS << ' ' << Elt->getName();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h113 Constant *Elt,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp187 for (const auto &Elt : Links) {
188 unsigned n = Elt.second;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp70 auto *Elt = cast<ConstantInt>(COp); local
71 RawMask[i] = Elt->getValue().getZExtValue();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1156 Constant *Elt = C->getAggregateElement(i); local
1157 if (!Elt) return nullptr;
1159 if (isa<UndefValue>(Elt)) { // Already undef.
1163 Elts.push_back(Elt);
1696 for (unsigned Elt = 0; Elt != InnerVWidthPerLane; ++Elt) {
1697 unsigned Idx = LaneIdx + Elt + InnerVWidthPerLane * OpNum;
1699 OpDemandedElts.setBit((Lane * InnerVWidthPerLane) + Elt);
H A DInstCombineVectorOps.cpp122 Value *Elt = EI.getIndexOperand(); local
131 ExtractElementInst::Create(B0->getOperand(opId), Elt,
132 B0->getOperand(opId)->getName() + ".Elt"),
140 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, "");
180 if (Value *Elt = findScalarElement(X, ExtIndexC))
181 return new BitCastInst(Elt, DestTy);
202 // Vector Byte Elt Index: 0 1 2 3 4 5 6 7
410 if (auto *Elt = dyn_cast<ConstantInt>(Index)) {
411 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue());
736 int Elt local
[all...]
H A DInstCombineCalls.cpp105 Constant *Elt = V->getElementAsConstant(I); local
106 assert((isa<ConstantInt>(Elt) || isa<ConstantFP>(Elt)) &&
109 ? cast<ConstantInt>(Elt)->isNegative()
110 : cast<ConstantFP>(Elt)->isNegative();
605 for (unsigned Elt = 0; Elt != NumSrcEltsPerLane; ++Elt)
606 PackMask.push_back(Elt + (Lane * NumSrcEltsPerLane));
607 for (unsigned Elt
802 APInt Elt = CI0->getValue(); local
3264 Constant *Elt = Mask->getAggregateElement(i); local
[all...]
H A DInstCombineMulDivRem.cpp112 Constant *Elt = C->getAggregateElement(I); local
113 if (!Elt)
115 if (isa<UndefValue>(Elt)) {
119 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2())
1449 Constant *Elt = C->getAggregateElement(i); local
1450 if (!Elt) {
1455 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elt))
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp878 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); local
879 if (!canEmitInitWithFewStoresAfterBZero(Elt, NumStores))
888 llvm::Constant *Elt = CDS->getElementAsConstant(i); local
889 if (!canEmitInitWithFewStoresAfterBZero(Elt, NumStores))
917 llvm::Constant *Elt = CDS->getElementAsConstant(i); local
920 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt))
922 CGM, Elt, Builder.CreateConstInBoundsGEP2_32(Loc, 0, i), isVolatile,
932 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); local
935 if (!Elt
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h302 template <typename Elt>
303 Value(const std::vector<Elt> &C) : Value(json::Array(C)) {}
307 template <typename Elt>
308 Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1092 for (unsigned Elt = 0; Elt < VF; ++Elt) {
1093 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1612 GenericValue Elt;
1613 Elt.IntVal = 0;
1614 Elt.IntVal = Elt.IntVal.zext(DstBitSize);
1623 Elt.IntVal |= Tmp;
1625 TempDst.AggregateVal.push_back(Elt);
1633 GenericValue Elt;
1634 Elt.IntVal = Elt.IntVal.zext(SrcBitSize);
1635 Elt
[all...]

Completed in 204 milliseconds

123