Home
last modified time | relevance | path

Searched refs:ScalarTy (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/CodeGen/
Dparameter-passing.c14 typedef int ScalarTy; typedef
24 static ScalarTy scalar_id(ScalarTy a) { return a; } in scalar_id()
33 static void scalar_mul(ScalarTy a) { result *= a; } in scalar_mul()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1148 Type *ScalarTy = VL[0]->getType(); in buildTree_rec() local
1150 if (DL->getTypeSizeInBits(ScalarTy) != in buildTree_rec()
1151 DL->getTypeAllocSizeInBits(ScalarTy)) { in buildTree_rec()
1531 Type *ScalarTy = VL[0]->getType(); in getEntryCost() local
1533 ScalarTy = SI->getValueOperand()->getType(); in getEntryCost()
1534 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); in getEntryCost()
1600 TTI->getCmpSelInstrCost(Opcode, ScalarTy, Builder.getInt1Ty()); in getEntryCost()
1660 TTI->getArithmeticInstrCost(Opcode, ScalarTy, Op1VK, in getEntryCost()
1674 TTI->getArithmeticInstrCost(Instruction::Add, ScalarTy, Op1VK, Op2VK); in getEntryCost()
1684 TTI->getMemoryOpCost(Instruction::Load, ScalarTy, alignment, 0); in getEntryCost()
[all …]
DLoopVectorize.cpp2283 Type *ScalarTy = LI ? LI->getType() : SI->getValueOperand()->getType(); in vectorizeInterleaveGroup() local
2285 Type *VecTy = VectorType::get(ScalarTy, InterleaveFactor * VF); in vectorizeInterleaveGroup()
2338 if (Member->getType() != ScalarTy) { in vectorizeInterleaveGroup()
2354 VectorType *SubVT = VectorType::get(ScalarTy, VF); in vectorizeInterleaveGroup()
3294 for (Type *ScalarTy : ScalarTys) in getVectorCallCost()
3295 Tys.push_back(ToVectorTy(ScalarTy, VF)); in getVectorCallCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1571 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad() local
1572 int DataWidth = isa<PointerType>(ScalarTy) ? in isLegalMaskedLoad()
1573 DL.getPointerSizeInBits() : ScalarTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
1596 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedGather() local
1597 int DataWidth = isa<PointerType>(ScalarTy) ? in isLegalMaskedGather()
1598 DL.getPointerSizeInBits() : ScalarTy->getPrimitiveSizeInBits(); in isLegalMaskedGather()
/external/clang/lib/Sema/
DSema.cpp409 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind() argument
410 switch (ScalarTy->getScalarTypeKind()) { in ScalarTypeToBooleanCastKind()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2616 Type *ScalarTy = AllocaTy->getScalarType(); in visitMemSetInst() local
2624 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()
2625 DL.getTypeSizeInBits(ScalarTy) % 8 != 0)) { in visitMemSetInst()
2645 assert(ElementTy == ScalarTy); in visitMemSetInst()
2687 V = getIntegerSplat(II.getValue(), DL.getTypeSizeInBits(ScalarTy) / 8); in visitMemSetInst()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp114 Type *ScalarTy = Ty->getScalarType(); in getIntegerValue() local
120 if (PointerType *PTy = dyn_cast<PointerType>(ScalarTy)) in getIntegerValue()
/external/llvm/lib/IR/
DConstants.cpp233 Type *ScalarTy = Ty->getScalarType(); in getIntegerValue() local
239 if (PointerType *PTy = dyn_cast<PointerType>(ScalarTy)) in getIntegerValue()
/external/clang/include/clang/Sema/
DSema.h8517 static CastKind ScalarTypeToBooleanCastKind(QualType ScalarTy);