/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 44 static Constant *BitCastConstantVector(ConstantVector *CV, in BitCastConstantVector() 70 return ConstantVector::get(Result); in BitCastConstantVector() 145 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in FoldBitCast() 153 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast() 552 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in ConstantFoldCastInstruction() 562 return ConstantVector::get(res); in ConstantFoldCastInstruction() 700 if (ConstantVector* CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 705 ConstantVector *CP1 = dyn_cast<ConstantVector>(V1); in ConstantFoldSelectInstruction() 706 ConstantVector *CP2 = dyn_cast<ConstantVector>(V2); in ConstantFoldSelectInstruction() 728 if (Valid) return ConstantVector::get(Res); in ConstantFoldSelectInstruction() [all …]
|
D | Constants.cpp | 110 C = ConstantVector::get(std::vector<Constant *>(VTy->getNumElements(), C)); in getIntegerValue() 130 return cast<ConstantVector>(ConstantVector::get(Elts)); in getAllOnesValue() 266 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) { in getVectorElements() 375 return ConstantVector::get(Splat); in getTrue() 388 return ConstantVector::get(Splat); in getFalse() 412 return ConstantVector::get(SmallVector<Constant*, in get() 438 return ConstantVector::get( in get() 481 return ConstantVector::get( in get() 496 return ConstantVector::get( in get() 516 return ConstantVector::get(zeros); in getZeroValueForNegation() [all …]
|
D | LLVMContextImpl.h | 152 VectorType, ConstantVector> VectorConstantsTy;
|
D | ConstantsContext.h | 479 struct ConstantKeyData<ConstantVector> { 481 static ValType getValType(ConstantVector *CP) {
|
D | Instructions.cpp | 1294 if (const ConstantVector *MV = dyn_cast<ConstantVector>(Mask)) { in isValidOperands() 1318 const ConstantVector *MaskCV = cast<ConstantVector>(Mask); in getMaskValue() 1594 C = ConstantVector::get( in CreateNot() 1610 AllOnes = ConstantVector::get( in CreateNot() 1625 if (const ConstantVector *CV = dyn_cast<ConstantVector>(V)) in isConstantAllOnes()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 23 if (ConstantVector *C = dyn_cast<ConstantVector>(V)) { in CheapToScalarize() 66 const ConstantVector *CP = cast<ConstantVector>(SVI->getOperand(2)); in getShuffleMask() 89 if (ConstantVector *CP = dyn_cast<ConstantVector>(V)) in FindScalarElement() 132 if (ConstantVector *C = dyn_cast<ConstantVector>(EI.getOperand(0))) { in visitExtractElementInst() 429 return new ShuffleVectorInst(LHS, RHS, ConstantVector::get(Mask)); in visitInsertElementInst() 500 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst() 568 ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstCombineMulDivRem.cpp | 267 if (ConstantVector *Op1V = dyn_cast<ConstantVector>(Op1C)) { in visitFMul() 688 if (ConstantVector *RHSV = dyn_cast<ConstantVector>(Op1)) { in visitSRem() 708 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
|
D | InstCombineSimplifyDemanded.cpp | 828 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) { in SimplifyDemandedVectorElts() 845 Constant *NewCP = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 867 return ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 988 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts()
|
D | InstructionCombining.cpp | 444 if (ConstantVector *C = dyn_cast<ConstantVector>(V)) in dyn_castNegVal() 463 if (ConstantVector *C = dyn_cast<ConstantVector>(V)) in dyn_castFNegVal()
|
/external/llvm/include/llvm/ |
D | Constants.h | 459 class ConstantVector : public Constant { 460 friend struct ConstantCreator<ConstantVector, VectorType, 462 ConstantVector(const ConstantVector &); // DO NOT IMPLEMENT 464 ConstantVector(VectorType *T, const std::vector<Constant*> &Val); 493 static inline bool classof(const ConstantVector *) { return true; } 500 struct OperandTraits<ConstantVector> : 501 public VariadicOperandTraits<ConstantVector> { 504 DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS(ConstantVector, Constant)
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 100 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() 146 if (const ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() 166 if (const ConstantVector *CV = dyn_cast<ConstantVector>(V)) in match() 600 if (ConstantVector *CV = dyn_cast<ConstantVector>(RHS)) in matchIfNot()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 58 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD); in FoldBitCast() 62 ConstantVector *CV = dyn_cast<ConstantVector>(C); in FoldBitCast() 106 CV = dyn_cast<ConstantVector>(C); in FoldBitCast() 171 return ConstantVector::get(Result); in FoldBitCast() 326 if (ConstantVector *CV = dyn_cast<ConstantVector>(C)) { in ReadDataFromGlobal() 1017 if (ConstantVector *CP = dyn_cast<ConstantVector>(C)) in ConstantFoldLoadThroughGEPConstantExpr() 1300 if (ConstantVector *Op = dyn_cast<ConstantVector>(Operands[0])) { in ConstantFoldCall()
|
D | ValueTracking.cpp | 91 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) { in ComputeMaskedBits() 928 if (ConstantVector *C = dyn_cast<ConstantVector>(U->getOperand(1))) { in ComputeNumSignBits()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 146 if (isa<ConstantVector>(C)) in MapValue() 147 return VM[V] = ConstantVector::get(Ops); in MapValue()
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 671 if (const ConstantVector *AV = dyn_cast<ConstantVector>(A)) in CanShareConstantPoolEntry() 672 if (const ConstantVector *BV = dyn_cast<ConstantVector>(B)) { in CanShareConstantPoolEntry()
|
D | ELFWriter.cpp | 487 } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(CV)) { in EmitGlobalConstant()
|
/external/mesa3d/src/pixelflinger2/ |
D | llvm_helper.h | 68 return ConstantVector::get(ConstantArray); in constIntVec() 91 return ConstantVector::get(ConstantArray); in constFloatVec()
|
/external/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 30 class ConstantVector; variable
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 603 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in EmitScalarConversion() 702 Value* CV = llvm::ConstantVector::get(concat); in VisitShuffleVectorExpr() 728 Value* MaskBits = llvm::ConstantVector::get(MaskV); in VisitShuffleVectorExpr() 772 Value *SV = llvm::ConstantVector::get(indices); in VisitShuffleVectorExpr() 891 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 946 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 963 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitInitListExpr() 1183 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitCastExpr() 2486 llvm::Value *zeroVec = llvm::ConstantVector::get(Zvals); in VisitAbstractConditionalOperator() 2622 llvm::Constant *Mask = llvm::ConstantVector::get(Args); in VisitAsTypeExpr()
|
D | CGBuiltin.cpp | 1139 Value* SV = llvm::ConstantVector::get(Indices); in EmitNeonSplat() 1165 return llvm::ConstantVector::get(CV); in EmitNeonShiftVector() 1382 Value *SV = llvm::ConstantVector::get(Indices); in EmitARMBuiltinExpr() 1872 SV = llvm::ConstantVector::get(Indices); in EmitARMBuiltinExpr() 1891 SV = llvm::ConstantVector::get(Indices); in EmitARMBuiltinExpr() 1911 SV = llvm::ConstantVector::get(Indices); in EmitARMBuiltinExpr() 1933 return llvm::ConstantVector::get(CstOps); in BuildVector() 2148 Value* SV = llvm::ConstantVector::get(Indices); in EmitX86BuiltinExpr() 2179 Value* SV = llvm::ConstantVector::get(Indices); in EmitX86BuiltinExpr()
|
D | CGObjCMac.cpp | 48 typedef std::vector<llvm::Constant*> ConstantVector; typedef 918 const ConstantVector &Methods); 928 const ConstantVector &Methods); 943 const ConstantVector &Methods); 962 const ConstantVector &OptInstanceMethods, 963 const ConstantVector &OptClassMethods); 1122 const ConstantVector &Methods); 1841 const ConstantVector &OptInstanceMethods, in EmitProtocolExtension() 1842 const ConstantVector &OptClassMethods) { in EmitProtocolExtension() 2019 const ConstantVector &Methods) { in EmitMethodDescList() [all …]
|
D | CGExpr.cpp | 930 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfExtVectorElementLValue() 1156 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 1171 llvm::Value *ExtMaskV = llvm::ConstantVector::get(ExtMask); in EmitStoreThroughExtVectorComponentLValue() 1186 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 1691 return llvm::ConstantVector::get(CElts); in GenerateConstantVector() 1746 llvm::Constant *CV = llvm::ConstantVector::get(CElts); in EmitExtVectorElementExpr()
|
/external/mesa3d/src/glsl/ |
D | ir_to_llvm.cpp | 430 return llvm::ConstantVector::get(values); in llvm_imm() 447 …return bld.CreateShuffleVector(v, llvm::UndefValue::get(v->getType()), llvm::ConstantVector::get(p… in create_shuffle3() 1170 vec = llvm::ConstantVector::get(ConstantArray); in visit() 1231 …reateShuffleVector(val, llvm::UndefValue::get(val->getType()), llvm::ConstantVector::get(pack(shuf… in llvm_shuffle() 1300 …rhs = bld.CreateShuffleVector(bld.CreateLoad(lhs), rhs, llvm::ConstantVector::get(pack(blend_mask,… in visit()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 281 } else if (ConstantVector *CP = dyn_cast<ConstantVector>(Agg)) { in getAggregateConstantElement() 2089 isa<ConstantVector>(C)) { in isSimpleEnoughValueToCommitHelper() 2239 } else if (ConstantVector *CV = dyn_cast<ConstantVector>(Init)) { in EvaluateStoreInto() 2256 return ConstantVector::get(Elts); in EvaluateStoreInto()
|
/external/llvm/lib/Target/CBackend/ |
D | CBackend.cpp | 227 void printConstantVector(ConstantVector *CV, bool Static); 637 void CWriter::printConstantVector(ConstantVector *CP, bool Static) { in printConstantVector() 1063 if (ConstantVector *CV = dyn_cast<ConstantVector>(CPV)) { in printConstant() 3553 printConstant(cast<ConstantVector>(Op)->getOperand(SrcVal & in visitShuffleVectorInst()
|