| /freebsd-9-stable/contrib/llvm/include/llvm/IR/ |
| D | Constants.h | 437 class ConstantVector : public Constant { 438 friend struct ConstantArrayCreator<ConstantVector, VectorType>; 439 ConstantVector(const ConstantVector &) LLVM_DELETED_FUNCTION; 441 ConstantVector(VectorType *T, ArrayRef<Constant *> Val); 474 struct OperandTraits<ConstantVector> : 475 public VariadicOperandTraits<ConstantVector> { 478 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantVector, Constant)
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Constants.cpp | 98 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isAllOnesValue() 158 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue() 175 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue() 190 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getAggregateElement() 460 return ConstantVector::getSplat(VTy->getNumElements(), in getTrue() 472 return ConstantVector::getSplat(VTy->getNumElements(), in getFalse() 497 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() 522 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() 568 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() 582 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() [all …]
|
| D | ConstantFold.cpp | 67 return ConstantVector::get(Result); in BitCastConstantVector() 155 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast() 550 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction() 562 return ConstantVector::get(res); in ConstantFoldCastInstruction() 704 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 718 return ConstantVector::get(Result); in ConstantFoldSelectInstruction() 783 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction() 824 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction() 869 return ConstantVector::get(Result); in ConstantFoldInsertValueInstruction() 1151 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction() [all …]
|
| D | LLVMContextImpl.h | 272 typedef ConstantAggrUniqueMap<VectorType, ConstantVector> VectorConstantsTy;
|
| D | AutoUpgrade.cpp | 315 Rep = Builder.CreateShuffleVector(Op0, Op0, ConstantVector::get(Idxs)); in UpgradeIntrinsicCall()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/ |
| D | ValueMapper.cpp | 169 if (isa<ConstantVector>(C)) in MapValue() 170 return VM[V] = ConstantVector::get(Ops); in MapValue()
|
| /freebsd-9-stable/contrib/llvm/tools/llvm-stress/ |
| D | llvm-stress.cpp | 189 return ConstantVector::get(VectorValue); in getRandomValue() 369 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 371 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act() 449 Constant *Mask = ConstantVector::get(Idxs); in Act()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | ConstantFolding.cpp | 103 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD); in FoldBitCast() 107 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C)) in FoldBitCast() 150 if (!isa<ConstantVector>(C) && // FIXME: Remove ConstantVector. in FoldBitCast() 190 return ConstantVector::get(Result); in FoldBitCast() 216 return ConstantVector::get(Result); in FoldBitCast() 347 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || in ReadDataFromGlobal() 1492 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldCall()
|
| D | CostModel.cpp | 106 ConstantVector *CV = 0; in getOperandInfo() 107 if ((CV = dyn_cast<ConstantVector>(V))) in getOperandInfo()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/ |
| D | NVPTXGenericToNVVM.cpp | 230 } else if (isa<ConstantVector>(C) || isa<ConstantArray>(C) || in remapConstant() 271 if (isa<ConstantVector>(C)) { in remapConstantVectorOrConstantAggregate()
|
| D | NVPTXAsmPrinter.cpp | 1890 if (isa<ConstantArray>(CPV) || isa<ConstantVector>(CPV) || in bufferLEByte() 1914 if (isa<ConstantArray>(CPV) || isa<ConstantVector>(CPV)) { in bufferAggregateConstant()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineVectorOps.cpp | 514 return new ShuffleVectorInst(LHS, RHS, ConstantVector::get(Mask)); in visitInsertElementInst() 705 ConstantVector::get(MaskValues)); in EvaluateInDifferentElementOrder() 835 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst() 1044 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
| D | InstCombineSimplifyDemanded.cpp | 966 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1091 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1098 if (ConstantVector* CV = dyn_cast<ConstantVector>(I->getOperand(0))) { in SimplifyDemandedVectorElts()
|
| D | InstCombineMulDivRem.cpp | 114 return ConstantVector::get(Elts); in getLogBase2Vector() 1208 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem() 1236 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGBuiltin.cpp | 1637 Value* SV = llvm::ConstantVector::getSplat(nElts, C); in EmitNeonSplat() 1661 return llvm::ConstantVector::getSplat(VTy->getNumElements(), C); in EmitNeonShiftVector() 1681 return llvm::ConstantVector::getSplat(VTy->getNumElements(), Zero); in EmitNeonRShiftImm() 1795 Value* SV = llvm::ConstantVector::getSplat(1, cast<ConstantInt>(Ops[1])); in EmitAArch64ScalarBuiltinExpr() 2667 Value *SV = llvm::ConstantVector::get(Indices); in packTBLDVectorList() 2797 Value* EightV = llvm::ConstantVector::getSplat(nElts, Eight); in EmitAArch64TblBuiltinExpr() 2822 Value* TwentyFourV = llvm::ConstantVector::getSplat(nElts, TwentyFour); in EmitAArch64TblBuiltinExpr() 3546 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), in EmitAArch64BuiltinExpr() 3595 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), in EmitAArch64BuiltinExpr() 4229 ShiftAmt = ConstantVector::getSplat(VTy->getNumElements(), ShiftAmt); in EmitARMBuiltinExpr() [all …]
|
| D | CGExpr.cpp | 1091 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfScalar() 1198 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreOfScalar() 1339 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfExtVectorElementLValue() 1533 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 1546 llvm::Value *ExtMaskV = llvm::ConstantVector::get(ExtMask); in EmitStoreThroughExtVectorComponentLValue() 1565 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 2374 return llvm::ConstantVector::get(CElts); in GenerateConstantVector() 2426 llvm::Constant *CV = llvm::ConstantVector::get(CElts); in EmitExtVectorElementExpr()
|
| D | CGExprScalar.cpp | 918 Value* CV = llvm::ConstantVector::get(concat); in VisitShuffleVectorExpr() 932 Value *MaskBits = llvm::ConstantVector::getSplat(MTy->getNumElements(), in VisitShuffleVectorExpr() 969 Value *SV = llvm::ConstantVector::get(indices); in VisitShuffleVectorExpr() 1161 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 1214 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 1230 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 3224 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitAsTypeExpr()
|
| D | CGDecl.cpp | 708 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in canEmitInitWithFewStoresAfterMemset() 745 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in emitStoresForInitAfterMemset()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/R600/ |
| D | R600TextureIntrinsicsReplacer.cpp | 131 Value *SwizzleMask = ConstantVector::get(Mask); in ReplaceCallInst()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Vectorize/ |
| D | BBVectorize.cpp | 2304 return ConstantVector::get(Mask); in getReplacementShuffleMask() 2511 ConstantVector::get(Mask), in getReplacementInput() 2534 ConstantVector::get(Mask), in getReplacementInput() 2551 ConstantVector::get(Mask), in getReplacementInput() 2573 new ShuffleVectorInst(I1, I2, ConstantVector::get(Mask), in getReplacementInput() 2607 ConstantVector::get(Mask), in getReplacementInput() 2644 ConstantVector::get(Mask), in getReplacementInput() 2671 ConstantVector::get(Mask), in getReplacementInput() 2763 ConstantVector::get( Mask1), in replaceOutputsOfPair() 2779 ConstantVector::get( Mask2), in replaceOutputsOfPair()
|
| D | LoopVectorize.cpp | 1065 Constant *Cv = ConstantVector::get(Indices); in getConsecutiveVector() 1191 ConstantVector::get(ShuffleMask), in reverseVector() 2206 Identity = ConstantVector::getSplat(VF, Iden); in vectorizeLoop() 2288 ConstantVector::get(ShuffleMask), in vectorizeLoop()
|
| /freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/ |
| D | ExecutionEngine.cpp | 866 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() 1136 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { in InitializeMemory()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| D | AsmPrinter.cpp | 1765 static void emitGlobalConstantVector(const ConstantVector *CV, AsmPrinter &AP) { in emitGlobalConstantVector() 1961 if (const ConstantVector *V = dyn_cast<ConstantVector>(CV)) in emitGlobalConstantImpl()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | SROA.cpp | 1842 ConstantVector::get(Mask), in extractVector() 1882 ConstantVector::get(Mask), in insertVector() 1890 V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend"); in insertVector()
|
| /freebsd-9-stable/contrib/llvm/lib/Bitcode/Reader/ |
| D | BitcodeReader.cpp | 359 } else if (isa<ConstantVector>(UserC)) { in ResolveConstantForwardRefs() 360 NewC = ConstantVector::get(NewOps); in ResolveConstantForwardRefs() 1250 V = ConstantVector::get(Elts); in ParseConstants()
|