Home
last modified time | relevance | path

Searched refs:Ty1 (Results 1 – 25 of 64) sorted by relevance

123

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVUtil.h81 template<class Ty1, class Ty2, class Identifier = void>
84 typedef Ty1 KeyTy;
89 static Ty2 map(Ty1 Key) { in map()
97 static Ty1 rmap(Ty2 Key) { in rmap()
98 Ty1 Val; 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/swiftshader/third_party/LLVM/test/Linker/
Dtestlink1.ll5 ; CHECK: %Ty2 = type { %Ty1* }
6 ; CHECK: %Ty1 = type { %Ty2* }
7 %Ty1 = type opaque
8 %Ty2 = type { %Ty1* }
20 @GVTy1 = external global %Ty1*
Dtestlink2.ll8 %Ty1 = type { %Ty2* }
11 @GVTy1 = global %Ty1* null
/external/llvm/test/Linker/
Dtestlink.ll3 ; CHECK: %Ty2 = type { %Ty1* }
4 ; CHECK: %Ty1 = type { %Ty2* }
5 %Ty1 = type opaque
6 %Ty2 = type { %Ty1* }
22 @GVTy1 = external global %Ty1*
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/
Dtestlink.ll3 ; CHECK: %Ty2 = type { %Ty1* }
4 ; CHECK: %Ty1 = type { %Ty2* }
5 %Ty1 = type opaque
6 %Ty2 = type { %Ty1* }
22 @GVTy1 = external global %Ty1*
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterBankInfo.cpp207 const LLT Ty1 = MRI.getType(Op1.getReg()); in getInstrMapping() local
209 OpRegBankIdx[1] = getPartialMappingIdx(Ty1, /* isFP */ false); in getInstrMapping()
217 const LLT Ty1 = MRI.getType(Op1.getReg()); in getInstrMapping() local
220 Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC; in getInstrMapping()
223 (Ty1.getSizeInBits() == 32 || Ty1.getSizeInBits() == 64) && in getInstrMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp106 const LLT &Ty1 = Query.Types[1]; in AArch64LegalizerInfo() local
109 return isPowerOf2_32(Ty1.getSizeInBits()) && in AArch64LegalizerInfo()
110 (Ty1.getSizeInBits() == 1 || Ty1.getSizeInBits() >= 8); in AArch64LegalizerInfo()
124 const LLT &Ty1 = Query.Types[1]; in AArch64LegalizerInfo() local
125 if (Ty1 != s32 && Ty1 != s64) in AArch64LegalizerInfo()
127 if (Ty1 == p0) in AArch64LegalizerInfo()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp188 bool isEquivalentType(Type *Ty1, Type *Ty2) const;
203 bool FunctionComparator::isEquivalentType(Type *Ty1, in isEquivalentType() argument
205 if (Ty1 == Ty2) in isEquivalentType()
207 if (Ty1->getTypeID() != Ty2->getTypeID()) { in isEquivalentType()
209 LLVMContext &Ctx = Ty1->getContext(); 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()
216 switch (Ty1->getTypeID()) { in isEquivalentType()
236 PointerType *PTy1 = cast<PointerType>(Ty1); in isEquivalentType()
242 StructType *STy1 = cast<StructType>(Ty1); in isEquivalentType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMRegisterBankInfo.cpp372 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local
376 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping()
379 unsigned Size = Ty1.getSizeInBits(); in getInstrMapping()
393 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
395 if (Ty.getSizeInBits() != 64 || Ty1.getSizeInBits() != 32 || in getInstrMapping()
408 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
410 if (Ty.getSizeInBits() != 32 || Ty1.getSizeInBits() != 32 || in getInstrMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/Inputs/
Dtestlink.ll4 %Ty1 = type { %Ty2* }
9 @GVTy1 = global %Ty1* null
/external/llvm/test/Linker/Inputs/
Dtestlink.ll4 %Ty1 = type { %Ty2* }
9 @GVTy1 = global %Ty1* null
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp103 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in operator ()() local
106 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2)); in operator ()()
/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()
82 (Ty1->isIntegralOrEnumerationType() && in haveSameType()
/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.cpp991 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, in isTruncateFree() argument
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() argument
1008 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp178 const LLT &Ty1 = Query.Types[1]; in AMDGPULegalizerInfo() local
180 (Ty1.getSizeInBits() % 32 == 0); in AMDGPULegalizerInfo()
DAMDGPURewriteOutArguments.cpp109 bool isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const;
210 bool AMDGPURewriteOutArguments::isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const { in isVec3ToVec4Shuffle()
212 VectorType *VT1 = dyn_cast<VectorType>(Ty1); in isVec3ToVec4Shuffle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp425 static Type *getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { in getWiderType() argument
427 Ty1 = convertPointerToIntegerType(DL, Ty1); in getWiderType()
428 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) in getWiderType()
430 return Ty1; in getWiderType()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1970 Type *Ty1 = Q.second.first->getType(), in findBestDAGFor() local
1972 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
2002 Type *Ty1 = S->first->getType(), in findBestDAGFor() local
2004 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
2023 if (Ty1->isVectorTy()) { in findBestDAGFor()
2025 Ty1, VTy); in findBestDAGFor()
2027 TargetTransformInfo::SK_ExtractSubvector, VTy, 0, Ty1)); in findBestDAGFor()
2059 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2091 Type *Ty1 = O1->getType(), in findBestDAGFor() local
2093 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
[all …]
/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()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp153 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
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;

123