Home
last modified time | relevance | path

Searched refs:getElementAsConstant (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp429 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray()
432 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp140 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
H A DTargetTransformInfo.cpp687 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) in getOperandInfo()
H A DValueTracking.cpp3906 if (!(Val = Merge(Val, isBytewiseValue(CA->getElementAsConstant(I), DL)))) in isBytewiseValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp732 CV->getElementAsConstant((unsigned)eltNo)); in TDOFold()
1648 Constant *celt0 = CDV0 ? CDV0->getElementAsConstant(i) : nullptr; in evaluateCall()
1649 Constant *celt1 = CDV1 ? CDV1->getElementAsConstant(i) : nullptr; in evaluateCall()
1650 Constant *celt2 = CDV2 ? CDV2->getElementAsConstant(i) : nullptr; in evaluateCall()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h623 Constant *getElementAsConstant(unsigned i) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp445 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
3265 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential
3312 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
H A DAsmWriter.cpp1494 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal()
1501 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
H A DConstantFold.cpp2335 auto *CI = cast<ConstantInt>(CV->getElementAsConstant(I)); in ConstantFoldGetElementPtr()
H A DCore.cpp1433 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp907 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterBZero()
939 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterBZero()
H A DCGExprConstant.cpp359 return CDS->getElementAsConstant(Elem); in split()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2955 return translateCopy(C, *CV->getElementAsConstant(0), in translate()
2959 Constant &Elt = *CV->getElementAsConstant(i); in translate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1931 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp266 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1568 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()