|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Constants.h 510 static Constant *get(ArrayRef<Constant*> V);
References
lib/Analysis/ConstantFolding.cpp 144 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL);
235 return ConstantVector::get(Result);
281 return ConstantVector::get(Result);
1113 return ConstantVector::get(Ops);
2436 return ConstantVector::get(NewElements);
2463 return ConstantVector::get(Result);
lib/Analysis/VectorUtils.cpp 654 return ConstantVector::get(Mask);
664 return ConstantVector::get(MaskVec);
674 return ConstantVector::get(Mask);
683 return ConstantVector::get(Mask);
696 return ConstantVector::get(Mask);
lib/AsmParser/LLParser.cpp 3164 ID.ConstantVal = ConstantVector::get(Elts);
lib/Bitcode/Reader/BitcodeReader.cpp 2450 V = ConstantVector::get(Elts);
lib/Bitcode/Reader/ValueList.cpp 210 NewC = ConstantVector::get(NewOps);
lib/CodeGen/CodeGenPrepare.cpp 6436 return ConstantVector::get(ConstVec);
lib/CodeGen/MIRParser/MIParser.cpp 2329 Dest = MachineOperand::CreateShuffleMask(ConstantVector::get(ShufMask));
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 1961 Constant *CP = ConstantVector::get(CV);
lib/IR/ConstantFold.cpp 68 return ConstantVector::get(Result);
156 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy);
584 return ConstantVector::get(res);
763 return ConstantVector::get(Result);
854 return ConstantVector::get(Result);
895 return ConstantVector::get(Result);
938 return ConstantVector::get(Result);
980 return ConstantVector::get(Result);
1323 return ConstantVector::get(Result);
1935 return ConstantVector::get(ResElts);
lib/IR/Constants.cpp 1158 return get(Elts);
lib/IR/Core.cpp 1427 return wrap(ConstantVector::get(makeArrayRef(
lib/IR/Instructions.cpp 1839 Op<2>() = ConstantVector::get(NewMask);
lib/Target/AArch64/AArch64InstructionSelector.cpp 3689 Constant *CPVal = ConstantVector::get(CstIdxs);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 490 Constant *Mask = ConstantVector::get(Indices);
lib/Target/Hexagon/HexagonISelLowering.cpp 913 return ConstantVector::get(NewConst);
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp 397 Constant *CV = ConstantVector::get(Tmp);
lib/Target/PowerPC/PPCISelLowering.cpp 8306 Constant *CP = ConstantVector::get(CV);
lib/Target/X86/X86ISelLowering.cpp 8090 return ConstantVector::get(ArrayRef<Constant *>(ConstantVec));
9667 Constant *CV = ConstantVector::get(ConstVecOps);
18572 Constant *C1 = ConstantVector::get(CV1);
lib/Transforms/IPO/GlobalOpt.cpp 2426 return ConstantVector::get(Elts);
2537 CurrentGV->setInitializer(ConstantVector::get(Elts));
lib/Transforms/InstCombine/InstCombineCalls.cpp 107 return ConstantVector::get(BoolVec);
518 return ConstantVector::get(ConstantVec);
533 auto ShiftVec = ConstantVector::get(ShiftVecAmts);
733 return ConstantVector::get(Args);
789 ConstantAggregateZero::get(ShufTy), ConstantVector::get(ShuffleMask));
870 ConstantVector::get(ShuffleMask));
895 return ConstantVector::get(Args);
955 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts));
1005 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts));
1042 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, Size));
3485 Constant *Folded = ConstantVector::get({
lib/Transforms/InstCombine/InstCombineInternal.h 293 return ConstantVector::get(Out);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 124 return ConstantVector::get(Elts);
1460 Constant *NewRHSV = ConstantVector::get(Elts);
lib/Transforms/InstCombine/InstCombineSelect.cpp 1831 ConstantVector::get(Mask));
lib/Transforms/InstCombine/InstCombineShifts.cpp 152 return ConstantVector::get(NewOps);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 1138 Constant *NewCV = ConstantVector::get(Elts);
1350 I->setOperand(2, ConstantVector::get(Elts));
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 573 ConstantVector::get(ExtendMask));
811 return new ShuffleVectorInst(FirstIE, UndefVec, ConstantVector::get(Mask));
844 Constant *NewMask = ConstantVector::get(NewMaskVec);
893 Constant *NewMask = ConstantVector::get(NewMaskVec);
980 ConstantVector::get(NewShufElts),
981 ConstantVector::get(NewMaskElts));
1020 ConstantVector::get(Values),
1021 ConstantVector::get(Mask));
1092 ConstantVector::get(Mask));
1310 ConstantVector::get(MaskValues));
1553 return new ShuffleVectorInst(NewIns, UndefVec, ConstantVector::get(NewMask));
1753 return new ShuffleVectorInst(X, Y, ConstantVector::get(NewMask));
1884 return new ShuffleVectorInst(X, Y, ConstantVector::get(NewMask));
1920 SVI.setOperand(2, ConstantVector::get(Elts));
2033 ConstantVector::get(ShuffleMask),
2235 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts));
lib/Transforms/InstCombine/InstructionCombining.cpp 1544 Constant *NewC = ConstantVector::get(NewVecC);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2153 ShadowMul = ConstantVector::get(Elements);
lib/Transforms/Scalar/SROA.cpp 2205 ConstantVector::get(Mask), Name + ".extract");
2244 ConstantVector::get(Mask), Name + ".expand");
2251 V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend");
lib/Transforms/Utils/LoopUtils.cpp 842 ConstantVector::get(ShuffleMask), "rdx.shuf");
lib/Transforms/Utils/ValueMapper.cpp 480 return getVM()[V] = ConstantVector::get(Ops);
lib/Transforms/Vectorize/LoopVectorize.cpp 1910 Constant *Cv = ConstantVector::get(Indices);
1928 Constant *Cv = ConstantVector::get(Indices);
2115 ConstantVector::get(ShuffleMask),
3583 ConstantVector::get(ShuffleMask))
lib/Transforms/Vectorize/SLPVectorizer.cpp 4212 Value *ShuffleMask = ConstantVector::get(Mask);
5705 return ConstantVector::get(ShuffleMask);
tools/clang/lib/CodeGen/CGBuiltin.cpp 6678 Value *SV = llvm::ConstantVector::get(ConstantInt::get(Int32Ty, 1-Lane));
6747 Value *SV = llvm::ConstantVector::get(cast<llvm::Constant>(Ops[2]));
9476 return llvm::ConstantVector::get(CstOps);
12681 Constant *ShuffleMask = llvm::ConstantVector::get(ShuffleElts);
12723 Constant *ShuffleMask = llvm::ConstantVector::get(ShuffleElts);
12749 Constant *ShuffleMask = llvm::ConstantVector::get(ShuffleElts);
12791 Constant *ShuffleMask = llvm::ConstantVector::get(ShuffleElts);
tools/clang/lib/CodeGen/CGDecl.cpp 1071 return llvm::ConstantVector::get(Values);
1271 return llvm::ConstantVector::get(Values);
tools/clang/lib/CodeGen/CGExpr.cpp 1732 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
1874 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
2112 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
2125 llvm::Value *ExtMaskV = llvm::ConstantVector::get(ExtMask);
2144 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
3852 llvm::Constant *CV = llvm::ConstantVector::get(CElts);
tools/clang/lib/CodeGen/CGExprConstant.cpp 2074 return llvm::ConstantVector::get(Inits);
tools/clang/lib/CodeGen/CGExprScalar.cpp 1641 Value *SV = llvm::ConstantVector::get(indices);
1845 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
1898 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
1914 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
4337 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
tools/llvm-stress/llvm-stress.cpp 249 return ConstantVector::get(VectorValue);
512 Constant *Mask = ConstantVector::get(Idxs);
tools/polly/lib/CodeGen/BlockGenerators.cpp 1070 Constant *SV = llvm::ConstantVector::get(Indices);
unittests/Analysis/VectorUtilsTest.cpp 90 Constant *NonSplatC = ConstantVector::get({ScalarC, OtherScalarC});
97 Constant *SplatWithUndefC = ConstantVector::get({ScalarC, UndefScalar});
unittests/IR/ConstantsTest.cpp 448 Constant *CDV = ConstantVector::get(Vals);
456 Constant *CDV = ConstantVector::get(Vals);
unittests/IR/InstructionsTest.cpp 323 Constant *C2xi32a = ConstantVector::get(ConstVa);
324 Constant *C2xi32b = ConstantVector::get(ConstVb);
817 Constant *Identity = ConstantVector::get({C0, CU, C2, C3, C4});
825 Constant *Select = ConstantVector::get({CU, C1, C5});
833 Constant *Reverse = ConstantVector::get({C3, C2, C1, CU});
841 Constant *SingleSource = ConstantVector::get({C2, C2, C0, CU});
849 Constant *ZeroEltSplat = ConstantVector::get({C0, C0, CU, C0});
857 Constant *Transpose = ConstantVector::get({C0, C4, C2, C6});
866 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({CU, C1, CU, C3})));
867 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({C4, CU, C6, CU})));
869 EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({C4, C1, C6, CU})));
870 EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({CU, C1, C6, C3})));
872 EXPECT_TRUE(ShuffleVectorInst::isReverseMask(ConstantVector::get({C7, C6, CU, C4})));
873 EXPECT_TRUE(ShuffleVectorInst::isReverseMask(ConstantVector::get({C3, CU, C1, CU})));
875 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C7, C5, CU, C7})));
876 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C3, C0, CU, C3})));
878 EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({C4, CU, CU, C4})));
879 EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({CU, C0, CU, C0})));
881 EXPECT_TRUE(ShuffleVectorInst::isTransposeMask(ConstantVector::get({C1, C5, C3, C7})));
882 EXPECT_TRUE(ShuffleVectorInst::isTransposeMask(ConstantVector::get({C1, C3})));
885 Constant *V0 = ConstantVector::get({C0, C1, C2, C3});
886 Constant *V1 = ConstantVector::get({C3, C2, C1, C0});
890 ConstantVector::get({C0, C1, CU, CU}));
899 ConstantVector::get({C0, C1, C2}));
908 ConstantVector::get({C4, CU, C6}));
917 ConstantVector::get({C4, C1, C6}));
926 ConstantVector::get({CU, C1, C2, C3, CU, CU}));
935 ConstantVector::get({C4, C5, C6, CU, CU, CU}));
944 ConstantVector::get({C0, C1, C2, C3, CU, C1}));
953 ConstantVector::get({C4, CU, C2, C3, CU, CU}));
962 ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
971 ConstantVector::get({C0, CU, C2, C3, CU, CU, C6}));
980 ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7, CU}));
989 ShuffleVectorInst *Id12 = new ShuffleVectorInst(V0, ConstantVector::get({CU, CU, CU, CU}),
990 ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
unittests/IR/PatternMatch.cpp 918 auto *IdxVec = ConstantVector::get(VecElemIdxs);
1012 Constant *VectorZeroUndef = ConstantVector::get(Elems);
1040 Constant *VectorZeroUndef = ConstantVector::get(Elems);