Searched refs:SrcElemTy (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 829 Constant *CastGEPIndices(Type *SrcElemTy, ArrayRef<Constant *> Ops, in CastGEPIndices() argument 841 SrcElemTy, Ops.slice(1, i - 1)))) && in CastGEPIndices() 860 ConstantExpr::getGetElementPtr(SrcElemTy, Ops[0], NewIdxs, NW, InRange); in CastGEPIndices() 869 Type *SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() local 871 if (!SrcElemTy->isSized() || isa<ScalableVectorType>(SrcElemTy)) in SymbolicallyEvaluateGEP() 874 if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, GEP->getNoWrapFlags(), in SymbolicallyEvaluateGEP() 892 SrcElemTy, ArrayRef((Value *const *)Ops.data() + 1, Ops.size() - 1))); in SymbolicallyEvaluateGEP() 925 SrcElemTy = GEP->getSourceElementType(); in SymbolicallyEvaluateGEP() 927 APInt(BitWidth, DL.getIndexedOffsetInType(SrcElemTy, NestedOps)), in SymbolicallyEvaluateGEP() 1009 Type *SrcElemTy = GEP->getSourceElementType(); in ConstantFoldInstOperandsImpl() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 1514 Type *SrcElemTy; in executeBitCastInst() local 1522 SrcElemTy = SrcTy->getScalarType(); in executeBitCastInst() 1528 SrcElemTy = SrcTy; in executeBitCastInst() 1549 if (SrcElemTy->isFloatTy()) { in executeBitCastInst() 1554 } else if (SrcElemTy->isDoubleTy()) { in executeBitCastInst() 1558 } else if (SrcElemTy->isIntegerTy()) { in executeBitCastInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanRecipes.cpp | 2046 Type *SrcElemTy = SrcVecTy->getElementType(); in createBitOrPointerCast() local 2048 assert((DL.getTypeSizeInBits(SrcElemTy) == DL.getTypeSizeInBits(DstElemTy)) && in createBitOrPointerCast() 2052 if (CastInst::isBitOrNoopPointerCastable(SrcElemTy, DstElemTy, DL)) { in createBitOrPointerCast() 2059 assert((DstElemTy->isPointerTy() != SrcElemTy->isPointerTy()) && in createBitOrPointerCast() 2061 assert((DstElemTy->isFloatingPointTy() != SrcElemTy->isFloatingPointTy()) && in createBitOrPointerCast() 2064 IntegerType::getIntNTy(V->getContext(), DL.getTypeSizeInBits(SrcElemTy)); in createBitOrPointerCast()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 1352 static bool isSupportedGetElementPtr(const Type *SrcElemTy) { 1353 return !SrcElemTy->isScalableTy();
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 532 Type *SrcElemTy = nullptr; member 535 ExtraInfo(uint8_t Opcode, uint8_t Flags = 0, Type *SrcElemTy = nullptr, in ExtraInfo() 537 : Opcode(Opcode), Flags(Flags), SrcElemTy(SrcElemTy), in ExtraInfo() 548 Type *SrcElemTy; // GEP source element type. member in __anondf6e26480411::BitcodeConstant 555 SrcElemTy(Info.SrcElemTy), InRange(Info.InRange) { in BitcodeConstant() 1504 return ConstantExpr::isSupportedGetElementPtr(BC->SrcElemTy); in isConstExprSupported() 1651 BC->SrcElemTy, ConstOps[0], ArrayRef(ConstOps).drop_front(), in materializeValue() 1733 I = GetElementPtrInst::Create(BC->SrcElemTy, Ops[0], in materializeValue()
|