/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVUtil.h | 81 template<class Ty1, class Ty2, class Identifier = void> 84 typedef Ty1 KeyTy; 89 static Ty2 map(Ty1 Key) { 97 static Ty1 rmap(Ty2 Key) { 98 Ty1 Val; 121 static void foreach(std::function<void(Ty1, Ty2)>F) { 128 static void foreach_conditional(std::function<bool(const Ty1&, Ty2)>F) { 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-7.0/llvm/lib/Target/X86/ |
X86RegisterBankInfo.cpp | 207 const LLT Ty1 = MRI.getType(Op1.getReg()); 209 OpRegBankIdx[1] = getPartialMappingIdx(Ty1, /* isFP */ false); 217 const LLT Ty1 = MRI.getType(Op1.getReg()); 220 Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC; 223 (Ty1.getSizeInBits() == 32 || Ty1.getSizeInBits() == 64) &&
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
ARMRegisterBankInfo.cpp | 372 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); 376 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && 379 unsigned Size = Ty1.getSizeInBits(); 393 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); 395 if (Ty.getSizeInBits() != 64 || Ty1.getSizeInBits() != 32 || 408 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); 410 if (Ty.getSizeInBits() != 32 || Ty1.getSizeInBits() != 32 ||
|
/external/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.h | 107 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in 109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 113 /// of type Ty1 implicit zero-extends the value to Ty2 in the result 116 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not 120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMGlobalMerge.cpp | 103 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); 106 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2));
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
MSP430ISelLowering.h | 103 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in 105 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 109 /// of type Ty1 implicit zero-extends the value to Ty2 in the result 112 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not 116 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
AArch64LegalizerInfo.cpp | 106 const LLT &Ty1 = Query.Types[1]; 109 return isPowerOf2_32(Ty1.getSizeInBits()) && 110 (Ty1.getSizeInBits() == 1 || Ty1.getSizeInBits() >= 8); 124 const LLT &Ty1 = Query.Types[1]; 125 if (Ty1 != s32 && Ty1 != s64) 127 if (Ty1 == p0)
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
MergeFunctions.cpp | 188 bool isEquivalentType(Type *Ty1, Type *Ty2) const; 203 bool FunctionComparator::isEquivalentType(Type *Ty1, 205 if (Ty1 == Ty2) 207 if (Ty1->getTypeID() != Ty2->getTypeID()) { 209 LLVMContext &Ctx = Ty1->getContext(); 210 if (isa<PointerType>(Ty1) && Ty2 == TD->getIntPtrType(Ctx)) return true; 211 if (isa<PointerType>(Ty2) && Ty1 == TD->getIntPtrType(Ctx)) return true; 216 switch (Ty1->getTypeID()) { 222 // Ty1 == Ty2 would have returned true earlier. 236 PointerType *PTy1 = cast<PointerType>(Ty1); [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SValBuilder.h | 78 bool haveSameType(QualType Ty1, QualType Ty2) { 81 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || 82 (Ty1->isIntegralOrEnumerationType() &&
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPULegalizerInfo.cpp | 178 const LLT &Ty1 = Query.Types[1]; 180 (Ty1.getSizeInBits() % 32 == 0);
|
AMDGPURewriteOutArguments.cpp | 109 bool isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const; 210 bool AMDGPURewriteOutArguments::isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const { 212 VectorType *VT1 = dyn_cast<VectorType>(Ty1);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.h | 107 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in 109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 113 /// of type Ty1 implicit zero-extends the value to Ty2 in the result 116 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not 120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.h | 114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
LoopVectorizationLegality.cpp | 425 static Type *getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { 427 Ty1 = convertPointerToIntegerType(DL, Ty1); 428 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) 430 return Ty1; [all...] |
/external/llvm/lib/Analysis/ |
TargetTransformInfo.cpp | 153 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { 154 return TTIImpl->isTruncateFree(Ty1, Ty2);
|
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
TargetTransformInfo.h | 354 /// \brief Return true if it's free to truncate a value of type Ty1 to type 357 bool isTruncateFree(Type *Ty1, Type *Ty2) const; 662 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0; [all...] |
/external/llvm/include/llvm/Support/ |
TrailingObjects.h | 116 template <typename Ty1, typename Ty2> struct ExtractSecondType {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
TrailingObjects.h | 116 template <typename Ty1, typename Ty2> struct ExtractSecondType {
|
/external/llvm/lib/Target/AArch64/ |
AArch64ISelLowering.h | 289 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 294 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 121 IntegerType *Ty1 = Builder.getInt1Ty(); 122 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1));
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
X86ISelLowering.h | 646 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in 648 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 652 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result 655 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this 659 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.h | 125 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 132 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
TargetTransformInfo.h | 534 /// Return true if it's free to truncate a value of type Ty1 to type 537 bool isTruncateFree(Type *Ty1, Type *Ty2) const; [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.h | 860 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in 862 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 865 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override; 868 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result 871 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this 875 bool isZExtFree(Type *Ty1, Type *Ty2) const override; [all...] |