Home
last modified time | relevance | path

Searched refs:SrcElemTy (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp735 Constant *CastGEPIndices(Type *SrcElemTy, ArrayRef<Constant *> Ops, in CastGEPIndices() argument
746 SrcElemTy, Ops.slice(1, i - 1)))) && in CastGEPIndices()
765 SrcElemTy, Ops[0], NewIdxs, /*InBounds=*/false, InRangeIndex); in CastGEPIndices()
797 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() local
800 if (!SrcElemTy->isSized()) in SymbolicallyEvaluateGEP()
803 if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, in SymbolicallyEvaluateGEP()
841 SrcElemTy, in SymbolicallyEvaluateGEP()
843 Ptr = StripPtrCastKeepAS(Ptr, SrcElemTy); in SymbolicallyEvaluateGEP()
863 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
864 Offset += APInt(BitWidth, DL.getIndexedOffsetInType(SrcElemTy, NestedOps)); in SymbolicallyEvaluateGEP()
[all …]
/external/llvm/lib/Analysis/
DConstantFolding.cpp691 Constant *CastGEPIndices(Type *SrcElemTy, ArrayRef<Constant *> Ops, in CastGEPIndices() argument
700 !isa<StructType>(GetElementPtrInst::getIndexedType(SrcElemTy, in CastGEPIndices()
716 Constant *C = ConstantExpr::getGetElementPtr(SrcElemTy, Ops[0], NewIdxs); in CastGEPIndices()
747 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() local
750 if (!SrcElemTy->isSized()) in SymbolicallyEvaluateGEP()
753 if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, DL, TLI)) in SymbolicallyEvaluateGEP()
790 SrcElemTy, in SymbolicallyEvaluateGEP()
792 Ptr = StripPtrCastKeepAS(Ptr, SrcElemTy); in SymbolicallyEvaluateGEP()
809 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP()
810 Offset += APInt(BitWidth, DL.getIndexedOffsetInType(SrcElemTy, NestedOps)); in SymbolicallyEvaluateGEP()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1501 Type *SrcElemTy; in executeBitCastInst() local
1509 SrcElemTy = SrcTy->getScalarType(); in executeBitCastInst()
1515 SrcElemTy = SrcTy; in executeBitCastInst()
1536 if (SrcElemTy->isFloatTy()) { in executeBitCastInst()
1541 } else if (SrcElemTy->isDoubleTy()) { in executeBitCastInst()
1545 } else if (SrcElemTy->isIntegerTy()) { in executeBitCastInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1502 Type *SrcElemTy; in executeBitCastInst() local
1510 SrcElemTy = SrcTy->getScalarType(); in executeBitCastInst()
1516 SrcElemTy = SrcTy; in executeBitCastInst()
1537 if (SrcElemTy->isFloatTy()) { in executeBitCastInst()
1542 } else if (SrcElemTy->isDoubleTy()) { in executeBitCastInst()
1546 } else if (SrcElemTy->isIntegerTy()) { in executeBitCastInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2676 Type *SrcElemTy = SrcVecTy->getElementType(); in createBitOrPointerCast() local
2678 assert((DL.getTypeSizeInBits(SrcElemTy) == DL.getTypeSizeInBits(DstElemTy)) && in createBitOrPointerCast()
2682 if (CastInst::isBitOrNoopPointerCastable(SrcElemTy, DstElemTy, DL)) { in createBitOrPointerCast()
2689 assert((DstElemTy->isPointerTy() != SrcElemTy->isPointerTy()) && in createBitOrPointerCast()
2691 assert((DstElemTy->isFloatingPointTy() != SrcElemTy->isFloatingPointTy()) && in createBitOrPointerCast()
2694 IntegerType::getIntNTy(V->getContext(), DL.getTypeSizeInBits(SrcElemTy)); in createBitOrPointerCast()