Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DConstants.cpp51 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isNegativeZeroValue()
77 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isZeroValue()
121 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isAllOnesValue()
143 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isOneValue()
165 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isMinSignedValue()
187 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isNotMinSignedValue()
1077 return getSequenceIfElementsMatch<ConstantDataVector>(C, V); in getImpl()
1089 return ConstantDataVector::getSplat(NumElts, V); in getSplat()
1357 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in getSplatValue()
2353 void ConstantDataVector::anchor() {} in anchor()
[all …]
DConstantFold.cpp567 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
DAsmWriter.cpp1271 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) { in WriteConstantInternal()
/external/llvm/include/llvm/IR/
DValue.def66 HANDLE_CONSTANT(ConstantDataVector)
DConstants.h742 class ConstantDataVector : public ConstantDataSequential {
744 ConstantDataVector(const ConstantDataVector &) = delete;
747 explicit ConstantDataVector(Type *ty, const char *Data)
DPatternMatch.h847 return (isa<ConstantInt>(RHS) || isa<ConstantDataVector>(RHS) || in matchIfNot()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp92 ASSERT_TRUE(isa<ConstantDataVector>(V)); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp252 auto CDV = dyn_cast<ConstantDataVector>(Arg1); in SimplifyX86immshift()
1075 if (isa<ConstantDataVector>(Arg)) { in visitCallInst()
1362 if (auto C = dyn_cast<ConstantDataVector>(Mask)) { in visitCallInst()
1400 if (auto *Mask = dyn_cast<ConstantDataVector>(V)) { in visitCallInst()
1422 auto NewC = ConstantDataVector::get(V->getContext(), in visitCallInst()
1439 if (auto C = dyn_cast<ConstantDataVector>(V)) { in visitCallInst()
1463 ConstantDataVector::get(V->getContext(), makeArrayRef(Indexes, Size)); in visitCallInst()
DInstCombineMulDivRem.cpp119 static Constant *getLogBase2Vector(ConstantDataVector *CV) { in getLogBase2Vector()
221 else if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(C1)) in visitMul()
1449 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem()
DInstCombineShifts.cpp326 if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(Op1)) in FoldShiftByConstant()
DInstructionCombining.cpp675 if (ConstantDataVector *C = dyn_cast<ConstantDataVector>(V)) in dyn_castNegVal()
692 if (ConstantDataVector *C = dyn_cast<ConstantDataVector>(V)) in dyn_castFNegVal()
1300 (isa<ConstantVector>(C1) || isa<ConstantDataVector>(C1)) && in SimplifyVectorOp()
DInstCombineCasts.cpp1608 ConstantDataVector::get(V2->getContext(), in optimizeVectorResize()
/external/llvm/lib/Analysis/
DConstantFolding.cpp80 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in FoldBitCast()
112 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C)) in FoldBitCast()
156 !isa<ConstantDataVector>(C)) in FoldBitCast()
1616 isa<ConstantDataVector>(Operands[0])) { in ConstantFoldScalarCall()
DCostModel.cpp129 if (isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) { in getOperandInfo()
DInstructionSimplify.cpp1299 if (isa<ConstantVector>(C) || isa<ConstantDataVector>(C)) { in isUndefShift()
/external/llvm/unittests/IR/
DConstantsTest.cpp424 ASSERT_TRUE(dyn_cast<ConstantDataVector>(CDV) != nullptr) in TEST()
432 ASSERT_TRUE(dyn_cast<ConstantDataVector>(CDV) != nullptr) in TEST()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2656 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2662 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2668 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2674 V = ConstantDataVector::get(Context, Elts); in parseConstants()
2680 V = ConstantDataVector::getFP(Context, Elts); in parseConstants()
2686 V = ConstantDataVector::getFP(Context, Elts); in parseConstants()
2692 V = ConstantDataVector::getFP(Context, Elts); in parseConstants()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp920 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c485 ConstantDataVector, enumerator
512 DEFINE_CASE(Val, ConstantDataVector); in llvm_classify_value()
Dllvm.ml272 | ConstantDataVector Constructor
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp639 isa<ConstantDataVector>(V) || isa<UndefValue>(V); in AddAliasScopeMetadata()
/external/llvm/include/llvm-c/
DCore.h1080 macro(ConstantDataVector) \
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1070 if ((isa<ConstantVector>(IOp) || isa<ConstantDataVector>(IOp)) && in areInstsCompatible()
1071 (isa<ConstantVector>(JOp) || isa<ConstantDataVector>(JOp))) { in areInstsCompatible()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp3989 SV = llvm::ConstantDataVector::get(getLLVMContext(), Indices); in EmitARMBuiltinExpr()
6366 Value *SV = llvm::ConstantDataVector::get(getLLVMContext(), in EmitX86BuiltinExpr()
6392 Value *SV = llvm::ConstantDataVector::get(getLLVMContext(), Indices); in EmitX86BuiltinExpr()
6419 Value *SV = llvm::ConstantDataVector::get(getLLVMContext(), Indices); in EmitX86BuiltinExpr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3012 if (!CI && isa<ConstantDataVector>(Idx) && in visitGetElementPtr()
3013 cast<ConstantDataVector>(Idx)->getSplatValue()) in visitGetElementPtr()
3014 CI = cast<ConstantInt>(cast<ConstantDataVector>(Idx)->getSplatValue()); in visitGetElementPtr()
6252 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in visitInlineAsm()

12