/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVUtil.h | 81 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/ |
D | testlink1.ll | 5 ; CHECK: %Ty2 = type { %Ty1* } 6 ; CHECK: %Ty1 = type { %Ty2* } 7 %Ty1 = type opaque 8 %Ty2 = type { %Ty1* } 20 @GVTy1 = external global %Ty1*
|
D | testlink2.ll | 8 %Ty1 = type { %Ty2* } 11 @GVTy1 = global %Ty1* null
|
/external/llvm/test/Linker/ |
D | testlink.ll | 3 ; 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/ |
D | testlink.ll | 3 ; 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/ |
D | X86RegisterBankInfo.cpp | 207 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/ |
D | AArch64LegalizerInfo.cpp | 106 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/ |
D | MergeFunctions.cpp | 188 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/ |
D | ARMRegisterBankInfo.cpp | 372 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/ |
D | testlink.ll | 4 %Ty1 = type { %Ty2* } 9 @GVTy1 = global %Ty1* null
|
/external/llvm/test/Linker/Inputs/ |
D | testlink.ll | 4 %Ty1 = type { %Ty2* } 9 @GVTy1 = global %Ty1* null
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMGlobalMerge.cpp | 103 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/ |
D | SValBuilder.h | 78 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/ |
D | MSP430ISelLowering.h | 105 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 116 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
D | MSP430ISelLowering.cpp | 991 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/ |
D | MSP430ISelLowering.h | 109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/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;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 178 const LLT &Ty1 = Query.Types[1]; in AMDGPULegalizerInfo() local 180 (Ty1.getSizeInBits() % 32 == 0); in AMDGPULegalizerInfo()
|
D | AMDGPURewriteOutArguments.cpp | 109 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/ |
D | LoopVectorizationLegality.cpp | 425 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/ |
D | HexagonISelLowering.h | 114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 1970 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/ |
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()
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 153 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument 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;
|