| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 143 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
|
| H A D | TargetTransformInfo.cpp | 774 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) { in getOperandInfo()
|
| H A D | ValueTracking.cpp | 4086 if (!(Val = Merge(Val, isBytewiseValue(CA->getElementAsConstant(I), DL)))) in isBytewiseValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 434 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray() 437 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 705 CV->getElementAsConstant((unsigned)eltNo)); in TDOFold() 1600 Constant *celt0 = CDV0 ? CDV0->getElementAsConstant(i) : nullptr; in evaluateCall() 1601 Constant *celt1 = CDV1 ? CDV1->getElementAsConstant(i) : nullptr; in evaluateCall() 1602 Constant *celt2 = CDV2 ? CDV2->getElementAsConstant(i) : nullptr; in evaluateCall()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 182 Args.push_back(AggrC->getElementAsConstant(i)); in preprocessCompositeConstants()
|
| H A D | SPIRVPreLegalizer.cpp | 68 GR->add(ConstVec->getElementAsConstant(i), &MF, in addConstantsToTrack()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Constants.h | 623 Constant *getElementAsConstant(unsigned i) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Constants.cpp | 441 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement() 3203 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential 3250 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
|
| H A D | AsmWriter.cpp | 1508 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), WriterCtx); in WriteConstantInternal() 1513 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), WriterCtx); in WriteConstantInternal()
|
| H A D | ConstantFold.cpp | 2187 auto *CI = cast<ConstantInt>(CV->getElementAsConstant(I)); in ConstantFoldGetElementPtr()
|
| H A D | Core.cpp | 1467 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 922 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterBZero() 954 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterBZero()
|
| H A D | CGExprConstant.cpp | 360 return CDS->getElementAsConstant(Elem); in split()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1908 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 3078 return translateCopy(C, *CV->getElementAsConstant(0), *EntryBuilder); in translate() 3081 Constant &Elt = *CV->getElementAsConstant(i); in translate()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 267 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 1644 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
|