Searched refs:getElementAsConstant (Results 1 – 15 of 15) sorted by relevance
826 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterMemset()855 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterMemset()
858 Elts.push_back(DataArray->getElementAsConstant(i)); in EmitDesignatedInitUpdater()
434 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
287 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()2728 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential2768 return getElementAsConstant(0); in getSplatValue()
1226 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal()1233 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
926 return wrap(static_cast<ConstantDataSequential*>(unwrap(c))->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
614 Constant *getElementAsConstant(unsigned i) const;
124 Constant *Elt = CV->getElementAsConstant(I); in getLogBase2Vector()
269 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in SimplifyX86immshift()
1921 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
2637 Value *Elt = CA->getElementAsConstant(0); in isBytewiseValue()2643 if (CA->getElementAsConstant(I) != Elt) in isBytewiseValue()
813 Constant *Elt = CDS->getElementAsConstant(i); in printConstant()
1921 emitGlobalConstantFP(cast<ConstantFP>(CDS->getElementAsConstant(I)), AP); in emitGlobalConstantDataSequential()
924 See the method ConstantDataSequential::getElementAsConstant. *)
1089 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()