Searched refs:getElementAsConstant (Results 1 – 16 of 16) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | LoopUnrollAnalyzer.cpp | 135 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
|
| HD | TargetTransformInfo.cpp | 577 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) in getOperandInfo()
|
| HD | ValueTracking.cpp | 3432 if (!(Val = Merge(Val, isBytewiseValue(CA->getElementAsConstant(I), DL)))) in isBytewiseValue()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
| HD | BPFISelDAGToDAG.cpp | 432 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray() 435 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPULibCalls.cpp | 751 CV->getElementAsConstant((unsigned)eltNo)); in TDOFold() 1663 Constant *celt0 = CDV0 ? CDV0->getElementAsConstant(i) : nullptr; in evaluateCall() 1664 Constant *celt1 = CDV1 ? CDV1->getElementAsConstant(i) : nullptr; in evaluateCall() 1665 Constant *celt2 = CDV2 ? CDV2->getElementAsConstant(i) : nullptr; in evaluateCall()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | Constants.h | 629 Constant *getElementAsConstant(unsigned i) const;
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | Constants.cpp | 399 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement() 2841 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential 2880 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
|
| HD | AsmWriter.cpp | 1433 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal() 1440 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
|
| HD | ConstantFold.cpp | 2401 auto *CI = cast<ConstantInt>(CV->getElementAsConstant(I)); in ConstantFoldGetElementPtr()
|
| HD | Core.cpp | 1384 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGDecl.cpp | 888 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterBZero() 917 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterBZero()
|
| HD | CGExprConstant.cpp | 352 return CDS->getElementAsConstant(Elem); in split()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| HD | IRTranslator.cpp | 2167 return translate(*CV->getElementAsConstant(0), Reg); in translate() 2170 Constant &Elt = *CV->getElementAsConstant(i); in translate()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| HD | NVPTXAsmPrinter.cpp | 1942 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineCalls.cpp | 105 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec() 382 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGBuilder.cpp | 1522 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
|