/external/swiftshader/third_party/LLVM/lib/Linker/ |
LinkModules.cpp | 49 void addTypeMapping(Type *DstTy, Type *SrcTy); 57 Type *get(Type *SrcTy); 64 Type *remapType(Type *SrcTy) { 65 return get(SrcTy); 68 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 72 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 73 Type *&Entry = MappedTypes[SrcTy]; 76 if (DstTy == SrcTy) { 83 if (!areTypesIsomorphic(DstTy, SrcTy)) { 94 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 237 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 244 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, 251 (!TD || SrcTy != TD->getIntPtrType(CI->getContext()))) || 439 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); 445 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 762 Type *SrcTy = Src->getType(), *DestTy = CI.getType(); 769 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 771 assert(BitsToClear < SrcTy->getScalarSizeInBits() && 780 uint32_t SrcBitsKept = SrcTy->getScalarSizeInBits()-BitsToClear; [all...] |
InstCombineLoadStoreAlloca.cpp | 96 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { 99 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) 102 Type *SrcPTy = SrcTy->getElementType(); 116 SrcTy = cast<PointerType>(CastOp->getType()); 117 SrcPTy = SrcTy->getElementType(); 261 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); 262 if (SrcTy == 0) return 0; 264 Type *SrcPTy = SrcTy->getElementType(); 297 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()) [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | 57 void addTypeMapping(Type *DstTy, Type *SrcTy); 65 Type *get(Type *SrcTy); 66 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 75 Type *remapType(Type *SrcTy) override { return get(SrcTy); } 77 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 81 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 87 if (!areTypesIsomorphic(DstTy, SrcTy)) { 109 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { 111 if (DstTy->getTypeID() != SrcTy->getTypeID() [all...] |
/external/llvm/lib/IR/ |
Instructions.cpp | [all...] |
Verifier.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Verifier.cpp | 854 Type *SrcTy = I.getOperand(0)->getType(); 858 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); 861 Assert1(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I) [all...] |
Instructions.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 238 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 245 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; 250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, 256 if ((Res == Instruction::IntToPtr && SrcTy != DstIntPtrTy) || 496 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); 502 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 516 Constant *One = ConstantInt::get(SrcTy, 1); 567 if (Src->hasOneUse() && isa<IntegerType>(SrcTy) && 568 ShouldChangeType(SrcTy, DestTy) & [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
ValueMapper.h | 34 virtual Type *remapType(Type *SrcTy) = 0;
|
/external/swiftshader/third_party/subzero/src/ |
IceInstARM32.cpp | 167 Type SrcTy = Instr->getSrc(0)->getType(); 170 Str << getWidthString(SrcTy); 181 Type SrcTy = Instr->getSrc(0)->getType(); 185 Str << getFpWidthString(SrcTy); 188 Str << getSVecWidthString(SrcTy); 191 Str << getUVecWidthString(SrcTy); 710 const Type SrcTy = getSrc(0)->getType(); 711 switch (SrcTy) { 714 typeStdString(SrcTy)); 721 Asm->vceqqi(typeElementType(SrcTy), Dest, getSrc(0), getSrc(1)) [all...] |
IceInstX86BaseImpl.h | [all...] |
IceAssemblerX86BaseImpl.h | 334 void AssemblerX86Base<TraitsType>::movzx(Type SrcTy, GPRRegister dst, 336 if (Traits::Is64Bit && SrcTy == IceType_i32) { 344 bool ByteSized = isByteSizedType(SrcTy); 345 assert(ByteSized || SrcTy == IceType_i16); 346 emitRexRB(RexTypeIrrelevant, dst, SrcTy, src); 353 void AssemblerX86Base<TraitsType>::movzx(Type SrcTy, GPRRegister dst, 355 if (Traits::Is64Bit && SrcTy == IceType_i32) { 363 bool ByteSized = isByteSizedType(SrcTy); 364 assert(ByteSized || SrcTy == IceType_i16); 366 emitRex(SrcTy, src, RexTypeIrrelevant, dst) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXFavorNonGenericAddrSpaces.cpp | 133 PointerType *SrcTy = cast<PointerType>(Src->getType()); 139 if (SrcTy->getElementType() != DestTy->getElementType()) 144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
|
NVPTXISelDAGToDAG.h | 96 static unsigned GetConvertOpcode(MVT DestTy, MVT SrcTy, bool IsSigned);
|
NVPTXISelLowering.h | 460 bool isTruncateFree(Type *SrcTy, Type *DstTy) const override { 462 if (!SrcTy->isIntegerTy() || !DstTy->isIntegerTy()) 464 return SrcTy->getPrimitiveSizeInBits() == 64 &&
|
/external/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.cpp | 95 EVT SrcTy = TLI->getValueType(DL, Src); 98 if (!SrcTy.isSimple() || !DstTy.isSimple()) 179 if (SrcTy.isVector() && ST->hasNEON()) { 182 SrcTy.getSimpleVT())) 209 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { 212 SrcTy.getSimpleVT())) 240 if (SrcTy.isInteger() && ST->hasNEON()) { 243 SrcTy.getSimpleVT())) 259 if (SrcTy.isInteger()) { 262 SrcTy.getSimpleVT()) [all...] |
/external/spirv-llvm/lib/SPIRV/ |
OCLUtil.cpp | 550 Type *SrcTy = BIC->getSrcTy(); 552 if (SrcTy->isPointerTy()) 553 SrcTy = SrcTy->getPointerElementType(); 556 auto SrcST = dyn_cast<StructType>(SrcTy);
|
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 151 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy, 154 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy, 160 QualType SrcTy, QualType DstTy, 604 llvm::Type *SrcTy = Src->getType(); 607 if (llvm::IntegerType *IntTy = dyn_cast<llvm::IntegerType>(SrcTy)) { 750 llvm::Type *SrcTy = Src->getType(); 779 SrcTy = CGF.FloatTy; 784 if (SrcTy == DstTy) 792 if (isa<llvm::PointerType>(SrcTy)) 806 if (isa<llvm::PointerType>(SrcTy)) { [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
ValueMapper.h | 35 virtual Type *remapType(Type *SrcTy) = 0;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
ValueMapper.h | 38 virtual Type *remapType(Type *SrcTy) = 0;
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Utils/ |
ValueMapper.h | 38 virtual Type *remapType(Type *SrcTy) = 0;
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Utils/ |
ValueMapper.h | 38 virtual Type *remapType(Type *SrcTy) = 0;
|