/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 131 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
|
D | ValueTracking.cpp | 2566 Value *Elt = CA->getElementAsConstant(0); in isBytewiseValue() 2572 if (CA->getElementAsConstant(I) != Elt) in isBytewiseValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 135 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
|
D | TargetTransformInfo.cpp | 577 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) in getOperandInfo()
|
D | ValueTracking.cpp | 3432 if (!(Val = Merge(Val, isBytewiseValue(CA->getElementAsConstant(I), DL)))) in isBytewiseValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 432 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray() 435 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | 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()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 827 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterMemset() 856 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterMemset()
|
D | CGExprConstant.cpp | 871 Elts.push_back(DataArray->getElementAsConstant(i)); in EmitDesignatedInitUpdater()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 591 Constant *getElementAsConstant(unsigned i) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 629 Constant *getElementAsConstant(unsigned i) const;
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 276 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()
|
D | AsmWriter.cpp | 1270 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal() 1277 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
|
D | Core.cpp | 1005 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | 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()
|
D | AsmWriter.cpp | 1433 WriteAsOperandInternal(Out, CA->getElementAsConstant(0), in WriteConstantInternal() 1440 WriteAsOperandInternal(Out, CA->getElementAsConstant(i), &TypePrinter, in WriteConstantInternal()
|
D | ConstantFold.cpp | 2401 auto *CI = cast<ConstantInt>(CV->getElementAsConstant(I)); in ConstantFoldGetElementPtr()
|
D | Core.cpp | 1384 return wrap(unwrap<ConstantDataSequential>(C)->getElementAsConstant(idx)); in LLVMGetElementAsConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 2167 return translate(*CV->getElementAsConstant(0), Reg); in translate() 2170 Constant &Elt = *CV->getElementAsConstant(i); in translate()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 70 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec() 287 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
|
D | InstCombineMulDivRem.cpp | 124 Constant *Elt = CV->getElementAsConstant(I); in getLogBase2Vector()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1942 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1947 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1976 emitGlobalConstantFP(cast<ConstantFP>(CDS->getElementAsConstant(I)), AP); in emitGlobalConstantDataSequential()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 105 Constant *Elt = V->getElementAsConstant(I); in getNegativeIsTrueBoolVec() 382 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
|