Home
last modified time | relevance | path

Searched refs:ConstantDataVector (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp727 if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(opr0)) { in TDOFold()
754 nval = ConstantDataVector::get(context, tmp); in TDOFold()
757 nval = ConstantDataVector::get(context, tmp); in TDOFold()
874 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow()
893 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
917 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
967 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
985 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
1025 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow()
1049 cnval = ConstantDataVector::get(M->getContext(), tmp); in fold_pow()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp46 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isNegativeZeroValue()
72 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isZeroValue()
116 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isAllOnesValue()
142 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isOneValue()
192 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isMinSignedValue()
527 delete static_cast<ConstantDataVector *>(C); in deleteConstant()
1404 return getSequenceIfElementsMatch<ConstantDataVector>(C, V); in getImpl()
1417 return ConstantDataVector::getSplat(EC.getKnownMinValue(), V); in getSplat()
1703 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in getSplatValue()
2988 Entry->reset(new ConstantDataVector(Ty, Slot.first().data())); in getImpl()
[all …]
H A DConstantFold.cpp599 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
2328 auto *CV = cast<ConstantDataVector>(Idxs[0]); in isInBoundsIndices()
2537 !isa<ConstantInt>(Idxs[0]) && !isa<ConstantDataVector>(Idxs[0]); in ConstantFoldGetElementPtr()
2540 if (!isa<ConstantInt>(Idxs[i]) && !isa<ConstantDataVector>(Idxs[i])) { in ConstantFoldGetElementPtr()
2545 if (!isa<ConstantInt>(Idxs[i - 1]) && !isa<ConstantDataVector>(Idxs[i - 1])) in ConstantFoldGetElementPtr()
2574 auto *CV = cast<ConstantDataVector>(Idxs[i]); in ConstantFoldGetElementPtr()
2611 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2615 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2621 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
H A DAsmWriter.cpp1549 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) { in WriteConstantInternal()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h751 class ConstantDataVector final : public ConstantDataSequential {
754 explicit ConstantDataVector(Type *ty, const char *Data)
763 ConstantDataVector(const ConstantDataVector &) = delete;
H A DValue.def94 HANDLE_CONSTANT(ConstantDataVector)
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp157 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C)) in FoldBitCast()
201 !isa<ConstantDataVector>(C)) in FoldBitCast()
1722 if (!isa<ConstantVector>(Op) && !isa<ConstantDataVector>(Op)) in constantFoldVectorReduce()
2264 isa<ConstantDataVector>(Operands[0])) { in ConstantFoldScalarCall1()
2567 isa<ConstantDataVector>(Operands[0])) && in ConstantFoldScalarCall2()
H A DTargetTransformInfo.cpp680 if (isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) { in getOperandInfo()
H A DValueTracking.cpp1849 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits()
5474 if (auto *C = dyn_cast<ConstantDataVector>(V)) { in isKnownNonNaN()
5494 if (auto *C = dyn_cast<ConstantDataVector>(V)) { in isKnownNonZero()
H A DInstructionSimplify.cpp1219 if (isa<ConstantVector>(C) || isa<ConstantDataVector>(C)) { in isPoisonShift()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp40 if (auto *ConstantMask = dyn_cast<ConstantDataVector>(Mask)) in getBoolVecFromMask()
252 auto CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift()
1625 if (auto *ConstantMask = dyn_cast<ConstantDataVector>(Mask)) { in instCombineIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp917 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2557 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2563 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2569 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2575 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2581 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants()
2587 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants()
2593 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants()
2599 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h764 if (isa<ConstantDataVector>(Val) || isa<ConstantVector>(Val)) { in minRequiredElementSize()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c642 ConstantDataVector, enumerator
670 DEFINE_CASE(Val, ConstantDataVector); in llvm_classify_value()
H A Dllvm.ml312 | ConstantDataVector Constructor
H A Dllvm.mli347 | ConstantDataVector Constructor
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp908 if (ConstantDataVector *C = dyn_cast<ConstantDataVector>(V)) in dyn_castNegVal()
H A DInstCombineMulDivRem.cpp1552 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h1573 macro(ConstantDataVector) \
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1091 isa<ConstantDataVector>(V) || isa<UndefValue>(V); in AddAliasScopeMetadata()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1852 return ConstantDataVector::get(IRB.getContext(), in makeAddReleaseOrderingTable()
1887 return ConstantDataVector::get(IRB.getContext(), in makeAddAcquireOrderingTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2914 } else if (auto CV = dyn_cast<ConstantDataVector>(&C)) { in translate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2077 auto *CV = ConstantDataVector::getSplat( in earlySelect()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExpr.cpp4121 llvm::ConstantDataVector::get(getLLVMContext(), Indices); in EmitExtVectorElementExpr()

12