Searched refs:ElemTy (Results 1 - 20 of 20) sorted by relevance

/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/
H A DEquivalenceClasses.h56 template <class ElemTy>
71 ElemTy Data;
74 ECValue(const ElemTy &Elt)
102 const ElemTy &getData() const { return Data; }
112 /// TheMapping - This implicitly provides a mapping from ElemTy values to the
158 iterator findValue(const ElemTy &V) const {
165 const ElemTy &getLeaderValue(const ElemTy &V) const {
174 const ElemTy &getOrInsertLeaderValue(const ElemTy
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DAPValue.cpp359 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
360 getVectorElt(0).printPretty(Out, Ctx, ElemTy);
363 getVectorElt(i).printPretty(Out, Ctx, ElemTy);
421 QualType ElemTy; local
424 ElemTy = VD->getType();
428 ElemTy = E->getType();
434 if (ElemTy->getAs<RecordType>()) {
441 ElemTy = Ctx.getRecordType(RD);
448 ElemTy = VD->getType();
453 ElemTy
469 QualType ElemTy = AT->getElementType(); local
[all...]
H A DRecordLayoutBuilder.cpp409 QualType ElemTy = Context.getBaseElementType(AT); local
410 const RecordType *RT = ElemTy->getAs<RecordType>();
511 QualType ElemTy = Context.getBaseElementType(AT); local
512 const RecordType *RT = ElemTy->getAs<RecordType>();
H A DExprConstant.cpp7499 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType();
7500 if (ElemTy->isRealFloatingType()) {
7502 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy));
7507 APSInt Zero = Info.Ctx.MakeIntValue(0, ElemTy);
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DType.cpp599 bool StructType::isValidElementType(Type *ElemTy) { argument
600 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
601 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy();
692 bool ArrayType::isValidElementType(Type *ElemTy) { argument
693 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
694 !ElemTy->isMetadataTy() && !ElemTy
721 isValidElementType(Type *ElemTy) argument
760 isValidElementType(Type *ElemTy) argument
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp85 Type *ElemTy = PtrTy->getPointerElementType(); local
87 if (ElemTy == v16i8) {
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h273 static bool isValidElementType(Type *ElemTy);
346 static bool isValidElementType(Type *ElemTy);
405 static bool isValidElementType(Type *ElemTy);
442 static bool isValidElementType(Type *ElemTy);
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp559 Type *ElemTy = STy->getElementType(i); local
560 if (ElemTy->isIntegerTy())
562 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
563 else if (ElemTy->isAggregateType()) {
564 const Constant *ElemUndef = UndefValue::get(ElemTy);
574 const Type *ElemTy = VTy->getElementType(); local
577 if (ElemTy->isIntegerTy())
580 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
864 Type* ElemTy; local
871 ElemTy
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp726 llvm::Type *ElemTy = AType->getElementType(); local
744 RewriteType |= (C->getType() != ElemTy);
754 fillC = llvm::Constant::getNullValue(ElemTy);
757 RewriteType |= (fillC->getType() != ElemTy);
H A DTargetInfo.cpp3447 llvm::Type* ElemTy;
3452 ElemTy = llvm::Type::getInt32Ty(getVMContext());
3455 ElemTy = llvm::Type::getInt64Ty(getVMContext());
3460 llvm::StructType::get(llvm::ArrayType::get(ElemTy, SizeRegs), NULL);
5279 llvm::Type *ElemTy = StrTy->getElementType(i);
5281 switch (ElemTy->getTypeID()) {
5283 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy));
5286 addFloat(ElemOffset, ElemTy, 32);
5289 addFloat(ElemOffset, ElemTy, 64);
5292 addFloat(ElemOffset, ElemTy, 12
[all...]
H A DCodeGenModule.cpp2587 llvm::Type *ElemTy = AType->getElementType(); local
2591 if (ElemTy->getPrimitiveSizeInBits() == 16) {
2601 assert(ElemTy->getPrimitiveSizeInBits() == 32);
H A DCGExpr.cpp680 QualType ElemTy = E->getType()->getAs<ComplexType>()->getElementType(); local
681 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp76 const QualType ElemTy = local
84 if (ElemTy->isCharType())
86 if (IsWideCharCompatible(ElemTy, Context))
95 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy))
97 if (ElemTy->isCharType())
99 if (IsWideCharCompatible(ElemTy, Context))
103 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy))
105 if (ElemTy->isCharType())
107 if (IsWideCharCompatible(ElemTy, Context))
111 if (Context.typesAreCompatible(Context.getWideCharType(), ElemTy))
[all...]
H A DSemaExprCXX.cpp893 QualType ElemTy = Ty; local
898 ElemTy = Context.getBaseElementType(Ty);
902 RequireCompleteType(TyBeginLoc, ElemTy,
H A DSemaExpr.cpp5182 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
5186 Literal = ImpCastExprToType(Literal.take(), ElemTy,
5187 PrepareScalarCast(Literal, ElemTy));
5204 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
5208 Literal = ImpCastExprToType(Literal.take(), ElemTy,
5209 PrepareScalarCast(Literal, ElemTy));
/freebsd-10.1-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1762 Type *ElemTy = GV->getType()->getElementType(); local
1764 AllocaInst *Alloca = new AllocaInst(ElemTy, NULL, GV->getName(), &FirstI);
2590 Type *ElemTy = cast<PointerType>(GV->getType())->getElementType(); local
2593 TD->getTypeStoreSize(ElemTy)) {
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp453 static inline VectorType *getVecTypeForPair(Type *ElemTy, Type *Elem2Ty) { argument
454 assert(ElemTy->getScalarType() == Elem2Ty->getScalarType() &&
456 Type *STy = ElemTy->getScalarType();
459 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) {
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp2219 QualType ElemTy = Context->getBaseElementType(T); local
2220 return needToScanForQualifiers(ElemTy);
3814 QualType ElemTy = Context->getBaseElementType(Type); local
3815 return RewriteObjCFieldDeclType(ElemTy, Result);
H A DRewriteObjC.cpp2109 QualType ElemTy = Context->getBaseElementType(T); local
2110 return needToScanForQualifiers(ElemTy);
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp104 MVT ElemTy = VT.getVectorElementType(); local
105 if (ElemTy != MVT::i64 && ElemTy != MVT::f64)
109 if (ElemTy == MVT::i32) {

Completed in 324 milliseconds