HomeSort by relevance Sort by last modified time
    Searched defs:SrcTy (Results 1 - 25 of 57) sorted by null

1 2 3

  /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 &&
  /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/llvm/lib/Analysis/
CostModel.cpp 452 Type *SrcTy = I->getOperand(0)->getType();
453 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
ConstantFolding.cpp 503 Type *SrcTy = SrcPtrTy->getPointerElementType();
505 Constant *C = ConstantFoldLoadFromConstPtr(SrcPtr, SrcTy, DL);
510 Type *SrcTy = C->getType();
514 if (DL.getTypeSizeInBits(DestTy) == DL.getTypeSizeInBits(SrcTy)) {
518 if (SrcTy->isIntegerTy() && DestTy->isPointerTy())
520 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy())
529 if (!SrcTy->isAggregateType())
    [all...]
InstructionSimplify.cpp     [all...]
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 183 EVT SrcTy = TLI->getValueType(DL, Src);
186 if (!SrcTy.isSimple() || !DstTy.isSimple())
288 SrcTy.getSimpleVT()))
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
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...]
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...]
  /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/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 833 Type *SrcTy = Src->getType()->getPointerElementType();
836 { Intr->getType(), PointerType::get(SrcTy, AMDGPUAS::LOCAL_ADDRESS) }
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp     [all...]
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 702 Type *SrcTy;
704 SrcTy = L->getType();
706 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType();
718 ArgIndices.insert(std::make_pair(SrcTy, Indices));
    [all...]
MergeFunctions.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
InstructionSimplify.cpp     [all...]
ValueTracking.cpp 271 Type *SrcTy = I->getOperand(0)->getType();
276 if (SrcTy->isPointerTy())
277 SrcBitWidth = TD->getTypeSizeInBits(SrcTy);
279 SrcBitWidth = SrcTy->getScalarSizeInBits();
294 Type *SrcTy = I->getOperand(0)->getType();
295 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) &&
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceInstX86BaseImpl.h     [all...]
  /external/clang/lib/CodeGen/
CGCall.cpp     [all...]
  /external/llvm/lib/IR/
AutoUpgrade.cpp 698 VectorType *SrcTy = cast<VectorType>(Src->getType());
703 if (NumDstElts < SrcTy->getNumElements()) {
706 Rep = Builder.CreateShuffleVector(Rep, UndefValue::get(SrcTy),
    [all...]
ConstantFold.cpp 85 Type *SrcTy = Op->getOperand(0)->getType();
96 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
101 Type *SrcTy = V->getType();
102 if (SrcTy == DestTy)
140 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
141 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() &&
143 SrcTy = nullptr;
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp     [all...]
InstCombineAndOrXor.cpp     [all...]
  /external/spirv-llvm/lib/SPIRV/
OCL20ToSPIRV.cpp 833 auto SrcTy = CI->getArgOperand(0)->getType();
836 if (isa<VectorType>(SrcTy))
837 SrcTy = SrcTy->getVectorElementType();
850 if (isa<IntegerType>(SrcTy)) {
869 !(isa<IntegerType>(SrcTy) && IsTargetInt)) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
ConstantFold.cpp 88 Type *SrcTy = Op->getOperand(0)->getType();
94 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
99 Type *SrcTy = V->getType();
100 if (SrcTy == DestTy)
136 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
137 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() &&
139 SrcTy = NULL;
    [all...]
  /external/llvm/lib/Target/Mips/
MipsFastISel.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCFastISel.cpp     [all...]

Completed in 2682 milliseconds

1 2 3