/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVUtil.h | 81 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/ |
D | testlink.ll | 4 %Ty1 = type { %Ty2* } 5 %Ty2 = type opaque 10 @GVTy2 = external global %Ty2*
|
/external/swiftshader/third_party/LLVM/test/Linker/ |
D | testlink2.ll | 8 %Ty1 = type { %Ty2* } 9 %Ty2 = type opaque 12 @GVTy2 = external global %Ty2*
|
D | testlink1.ll | 5 ; CHECK: %Ty2 = type { %Ty1* } 6 ; CHECK: %Ty1 = type { %Ty2* } 8 %Ty2 = type { %Ty1* } 21 @GVTy2 = global %Ty2* null
|
/external/llvm/test/Linker/ |
D | testlink.ll | 3 ; 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/ |
D | MergeFunctions.cpp | 188 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/ |
D | ARMGlobalMerge.cpp | 104 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/ |
D | MSP430ISelLowering.h | 109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
D | MSP430ISelLowering.cpp | 1137 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/ |
D | MSP430ISelLowering.h | 105 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 116 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
D | MSP430ISelLowering.cpp | 992 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/ |
D | SValBuilder.h | 78 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/ |
D | TrailingObjects.h | 116 template <typename Ty1, typename Ty2> struct ExtractSecondType { 117 typedef Ty2 type;
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.h | 114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
D | HexagonISelLowering.cpp | 2247 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/ |
D | TargetTransformInfo.h | 357 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()
|
D | TargetTransformInfoImpl.h | 229 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() argument
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 1971 *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/ |
D | TargetTransformInfo.cpp | 153 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() 154 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 862 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/ |
D | AArch64ISelLowering.h | 289 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/ |
D | X86ISelLowering.h | 648 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 659 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 147 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() argument 148 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 287 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 659 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
|