Home
last modified time | relevance | path

Searched refs:Ty2 (Results 1 – 25 of 32) sorted by relevance

12

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVUtil.h81 template<class Ty1, class Ty2, class Identifier = void>
85 typedef Ty2 ValueTy;
89 static Ty2 map(Ty1 Key) { in map()
90 Ty2 Val; in map()
97 static Ty1 rmap(Ty2 Key) { in rmap()
121 static void foreach(std::function<void(Ty1, Ty2)>F) { in foreach()
128 static void foreach_conditional(std::function<bool(const Ty1&, Ty2)>F) { in foreach_conditional()
135 static bool find(Ty1 Key, Ty2 *Val = nullptr) {
145 static bool rfind(Ty2 Key, Ty1 *Val = nullptr) {
159 typedef std::map<Ty1, Ty2> MapTy;
[all …]
/external/llvm/test/Linker/Inputs/
Dtestlink.ll4 %Ty1 = type { %Ty2* }
5 %Ty2 = type opaque
10 @GVTy2 = external global %Ty2*
/external/swiftshader/third_party/LLVM/test/Linker/
Dtestlink2.ll8 %Ty1 = type { %Ty2* }
9 %Ty2 = type opaque
12 @GVTy2 = external global %Ty2*
Dtestlink1.ll5 ; CHECK: %Ty2 = type { %Ty1* }
6 ; CHECK: %Ty1 = type { %Ty2* }
8 %Ty2 = type { %Ty1* }
21 @GVTy2 = global %Ty2* null
/external/llvm/test/Linker/
Dtestlink.ll3 ; CHECK: %Ty2 = type { %Ty1* }
4 ; CHECK: %Ty1 = type { %Ty2* }
6 %Ty2 = type { %Ty1* }
23 @GVTy2 = global %Ty2* null
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp188 bool isEquivalentType(Type *Ty1, Type *Ty2) const;
204 Type *Ty2) const { in isEquivalentType()
205 if (Ty1 == Ty2) in isEquivalentType()
207 if (Ty1->getTypeID() != Ty2->getTypeID()) { in isEquivalentType()
210 if (isa<PointerType>(Ty1) && Ty2 == TD->getIntPtrType(Ctx)) return true; in isEquivalentType()
211 if (isa<PointerType>(Ty2) && Ty1 == TD->getIntPtrType(Ctx)) return true; in isEquivalentType()
237 PointerType *PTy2 = cast<PointerType>(Ty2); in isEquivalentType()
243 StructType *STy2 = cast<StructType>(Ty2); in isEquivalentType()
259 FunctionType *FTy2 = cast<FunctionType>(Ty2); in isEquivalentType()
276 ArrayType *ATy2 = cast<ArrayType>(Ty2); in isEquivalentType()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp104 Type *Ty2 = cast<PointerType>(GV2->getType())->getElementType(); in operator ()() local
106 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2)); in operator ()()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DMSP430ISelLowering.cpp1137 Type *Ty2) const { in isTruncateFree()
1138 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
1141 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); in isTruncateFree()
1151 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
1153 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.h105 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
116 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
DMSP430ISelLowering.cpp992 Type *Ty2) const { in isTruncateFree()
993 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
996 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); in isTruncateFree()
1006 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
1008 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h78 bool haveSameType(QualType Ty1, QualType Ty2) { in haveSameType() argument
81 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
83 Ty2->isIntegralOrEnumerationType())); in haveSameType()
/external/llvm/include/llvm/Support/
DTrailingObjects.h116 template <typename Ty1, typename Ty2> struct ExtractSecondType {
117 typedef Ty2 type;
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
DHexagonISelLowering.cpp2247 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
2249 EVT MTy2 = EVT::getEVT(Ty2); in isTruncateFree()
2719 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall()
2722 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h357 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
662 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
823 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree() argument
824 return Impl.isTruncateFree(Ty1, Ty2); in isTruncateFree()
DTargetTransformInfoImpl.h229 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() argument
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1971 *Ty2 = Q.second.second->getType(); in findBestDAGFor() local
1972 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
2003 *Ty2 = S->second->getType(); in findBestDAGFor() local
2004 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
2054 if (Ty2->isVectorTy()) { in findBestDAGFor()
2056 Ty2, VTy); in findBestDAGFor()
2059 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2092 *Ty2 = O2->getType(); in findBestDAGFor() local
2093 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
2097 if (Ty1 == Ty2) { in findBestDAGFor()
[all …]
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp153 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
154 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/external/llvm/lib/Target/X86/
DX86ISelLowering.h862 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
865 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
875 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h289 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
294 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.h648 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
659 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h147 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() argument
148 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h287 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h659 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;

12