| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 425 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray() 428 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 842 CV->getElementAsConstant((unsigned)eltNo)); in TDOFold() 1661 Constant *celt0 = CDV0 ? CDV0->getElementAsConstant(i) : nullptr; in evaluateCall() 1662 Constant *celt1 = CDV1 ? CDV1->getElementAsConstant(i) : nullptr; in evaluateCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 364 ArrayElements.push_back(ConstDataVecInit->getElementAsConstant(I)); in transformInitializer()
|
| H A D | DXILFlattenArrays.cpp | 395 collectElements(DataArrayConstant->getElementAsConstant(I), Elements); in collectElements()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Constant.h | 540 Constant *getElementAsConstant(unsigned ElmIdx) const { in getElementAsConstant() function 542 cast<llvm::ConstantDataSequential>(Val)->getElementAsConstant(ElmIdx)); in getElementAsConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 472 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement() 3178 Constant *ConstantDataSequential::getElementAsConstant(uint64_t Elt) const { in getElementAsConstant() function in ConstantDataSequential 3225 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
|
| H A D | AsmWriter.cpp | 1715 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), WriterCtx); in WriteConstantInternal() 1720 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), WriterCtx); in WriteConstantInternal()
|
| H A D | Core.cpp | 1632 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 647 LLVM_ABI Constant *getElementAsConstant(uint64_t i) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 79 Constant *ElemConst = ConstVec->getElementAsConstant(i); in addConstantsToTrack()
|
| H A D | SPIRVEmitIntrinsics.cpp | 1256 Args.push_back(COp->getElementAsConstant(i)); in preprocessCompositeConstants()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 929 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterBZero() 961 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterBZero()
|
| H A D | CGExprConstant.cpp | 369 return CDS->getElementAsConstant(Elem); in split()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1701 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(I)), 0, aggBuffer); in bufferAggregateConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 933 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) { in getOperandInfo()
|
| H A D | ValueTracking.cpp | 6153 if (!(Val = Merge(Val, isBytewiseValue(CA->getElementAsConstant(I), DL)))) in isBytewiseValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 3689 return translateCopy(C, *CV->getElementAsConstant(0), *EntryBuilder); in translate() 3692 Constant &Elt = *CV->getElementAsConstant(i); in translate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 262 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 1863 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
|