Searched refs:VecTy (Results 1 – 8 of 8) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 27 typedef llvm::SmallVector<EltTy, 4> VecTy; typedef 28 llvm::PointerUnion<EltTy, VecTy*> Val; 32 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in TinyPtrVector() 33 Val = new VecTy(*V); in TinyPtrVector() 36 if (VecTy *V = Val.template dyn_cast<VecTy*>()) in ~TinyPtrVector() 44 if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) in empty() 54 return Val.template get<VecTy*>()->size(); in size() 65 return Val.template get<VecTy *>()->begin(); in begin() 75 return Val.template get<VecTy *>()->end(); in end() 86 assert(i < Val.template get<VecTy*>()->size() && [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1610 VectorType *VecTy = cast<VectorType>(VecInput->getType()); in OptimizeIntToFloatBitCast() local 1613 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { in OptimizeIntToFloatBitCast() 1616 if (VecTy->getElementType() != DestTy) { in OptimizeIntToFloatBitCast() 1617 VecTy = VectorType::get(DestTy, in OptimizeIntToFloatBitCast() 1618 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast() 1619 VecInput = IC.Builder->CreateBitCast(VecInput, VecTy); in OptimizeIntToFloatBitCast() 1631 VectorType *VecTy = cast<VectorType>(VecInput->getType()); in OptimizeIntToFloatBitCast() local 1633 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && in OptimizeIntToFloatBitCast() 1637 if (VecTy->getElementType() != DestTy) { in OptimizeIntToFloatBitCast() 1638 VecTy = VectorType::get(DestTy, in OptimizeIntToFloatBitCast() [all …]
|
/external/llvm/lib/VMCore/ |
D | AutoUpgrade.cpp | 142 Type *VecTy = CI->getType(); in UpgradeIntrinsicCall() local 152 BC = Builder.CreateBitCast(LI, VecTy, "new.cast"); in UpgradeIntrinsicCall()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 2124 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); in EmitX86BuiltinExpr() local 2127 Ops[1] = Builder.CreateBitCast(Ops[1], VecTy, "cast"); in EmitX86BuiltinExpr() 2156 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 1); in EmitX86BuiltinExpr() local 2158 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); in EmitX86BuiltinExpr() 2159 Ops[1] = llvm::ConstantInt::get(VecTy, (shiftVal-8) * 8); in EmitX86BuiltinExpr() 2186 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); in EmitX86BuiltinExpr() local 2188 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); in EmitX86BuiltinExpr()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 2198 static SDValue BuildVectorFromScalar(SelectionDAG& DAG, EVT VecTy, in BuildVectorFromScalar() argument 2203 unsigned Width = VecTy.getSizeInBits(); in BuildVectorFromScalar() 2223 return DAG.getNode(ISD::BITCAST, dl, VecTy, VecOp); in BuildVectorFromScalar()
|
D | SelectionDAGBuilder.cpp | 1072 VectorType *VecTy = cast<VectorType>(V->getType()); in getValueImpl() local 1073 unsigned NumElements = VecTy->getNumElements(); in getValueImpl() 1083 EVT EltVT = TLI.getValueType(VecTy->getElementType()); in getValueImpl()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 5495 QualType VecTy = *Vec; in addUnaryPlusOrMinusArithmeticOverloads() local 5496 S.AddBuiltinCandidate(VecTy, &VecTy, Args, 1, CandidateSet); in addUnaryPlusOrMinusArithmeticOverloads() 5535 QualType VecTy = *Vec; in addUnaryTildePromotedIntegralOverloads() local 5536 S.AddBuiltinCandidate(VecTy, &VecTy, Args, 1, CandidateSet); in addUnaryTildePromotedIntegralOverloads()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6323 EVT VecTy; in CombineBaseUpdate() local 6325 VecTy = N->getValueType(0); in CombineBaseUpdate() 6327 VecTy = N->getOperand(AddrOpIdx+1).getValueType(); in CombineBaseUpdate() 6328 unsigned NumBytes = NumVecs * VecTy.getSizeInBits() / 8; in CombineBaseUpdate() 6330 NumBytes /= VecTy.getVectorNumElements(); in CombineBaseUpdate() 6349 Tys[n] = VecTy; in CombineBaseUpdate()
|