Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp131 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
DValueTracking.cpp2566 Value *Elt = CA->getElementAsConstant(0); in isBytewiseValue()
2572 if (CA->getElementAsConstant(I) != Elt) in isBytewiseValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp136 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
DTargetTransformInfo.cpp659 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) in getOperandInfo()
DValueTracking.cpp2961 Value *Elt = CA->getElementAsConstant(0); in isBytewiseValue()
2967 if (CA->getElementAsConstant(I) != Elt) in isBytewiseValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp461 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray()
464 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp740 CV->getElementAsConstant((unsigned)eltNo)); in TDOFold()
1632 Constant *celt0 = CDV0 ? CDV0->getElementAsConstant(i) : nullptr; in evaluateCall()
1633 Constant *celt1 = CDV1 ? CDV1->getElementAsConstant(i) : nullptr; in evaluateCall()
1634 Constant *celt2 = CDV2 ? CDV2->getElementAsConstant(i) : nullptr; in evaluateCall()
/external/clang/lib/CodeGen/
DCGDecl.cpp827 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterMemset()
856 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterMemset()
DCGExprConstant.cpp871 Elts.push_back(DataArray->getElementAsConstant(i)); in EmitDesignatedInitUpdater()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp1487 return translate(*CV->getElementAsConstant(0), Reg); in translate()
1490 Constant &Elt = *CV->getElementAsConstant(i); in translate()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h625 Constant *getElementAsConstant(unsigned i) const;
/external/llvm/include/llvm/IR/
DConstants.h591 Constant *getElementAsConstant(unsigned i) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp349 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
2709 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential
2748 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
DAsmWriter.cpp1417 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal()
1424 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
DConstantFold.cpp2280 auto *CI = cast<ConstantInt>(CV->getElementAsConstant(I)); in ConstantFoldGetElementPtr()
/external/llvm/lib/IR/
DConstants.cpp276 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
2641 Constant *ConstantDataSequential::getElementAsConstant(unsigned Elt) const { in getElementAsConstant() function in ConstantDataSequential
2676 return getElementAsConstant(0); in getSplatValue()
DAsmWriter.cpp1270 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal()
1277 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
DCore.cpp1005 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp716 BV.push_back(transValue(ConstDA->getElementAsConstant(I), nullptr)); in transConstant()
730 BV.push_back(transValue(ConstDV->getElementAsConstant(I), nullptr)); in transConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp70 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec()
287 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
DInstCombineMulDivRem.cpp124 Constant *Elt = CV->getElementAsConstant(I); in getLogBase2Vector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1944 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1947 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp98 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec()
336 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1976 emitGlobalConstantFP(cast<ConstantFP>(CDS->getElementAsConstant(I)), AP); in emitGlobalConstantDataSequential()

12