Home
last modified time | relevance | path

Searched refs:LoadTy (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp19 if (LoadTy->isStructTy() || LoadTy->isArrayTy() || in canCoerceMustAliasedValueToLoad()
30 if (StoreSize < DL.getTypeSizeInBits(LoadTy)) in canCoerceMustAliasedValueToLoad()
35 DL.isNonIntegralPointerType(LoadTy)) in canCoerceMustAliasedValueToLoad()
159 if (LoadTy->isStructTy() || LoadTy->isArrayTy()) in analyzeLoadFromClobberingWrite()
177 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy); in analyzeLoadFromClobberingWrite()
242 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in analyzeLoadFromClobberingLoad()
300 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, DL)) in analyzeLoadFromClobberingMemInst()
374 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in getLoadValueForLoad()
418 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in getConstantLoadValueForLoad()
428 LLVMContext &Ctx = LoadTy->getContext(); in getMemInstValueForLoadHelper()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DVNCoercion.h38 bool canCoerceMustAliasedValueToLoad(Value *StoredVal, Type *LoadTy,
55 int analyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr,
63 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
71 int analyzeLoadFromClobberingMemInst(Type *LoadTy, Value *LoadPtr,
77 Value *getStoreValueForLoad(Value *SrcVal, unsigned Offset, Type *LoadTy,
82 Type *LoadTy, const DataLayout &DL);
88 Value *getLoadValueForLoad(LoadInst *SrcVal, unsigned Offset, Type *LoadTy,
93 Type *LoadTy, const DataLayout &DL);
100 Type *LoadTy, Instruction *InsertPt,
105 Type *LoadTy, const DataLayout &DL);
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1080 Type *LoadTy; in vectorizeLoadChain() local
1082 LoadTy = cast<LoadInst>(V)->getType(); in vectorizeLoadChain()
1083 if (LoadTy->isIntOrIntVectorTy()) in vectorizeLoadChain()
1086 if (LoadTy->isPtrOrPtrVectorTy()) { in vectorizeLoadChain()
1087 LoadTy = Type::getIntNTy(F.getParent()->getContext(), in vectorizeLoadChain()
1088 DL.getTypeSizeInBits(LoadTy)); in vectorizeLoadChain()
1093 unsigned Sz = DL.getTypeSizeInBits(LoadTy); in vectorizeLoadChain()
1126 VectorType *VecLoadTy = dyn_cast<VectorType>(LoadTy); in vectorizeLoadChain()
1128 VecTy = VectorType::get(LoadTy->getScalarType(), in vectorizeLoadChain()
1131 VecTy = VectorType::get(LoadTy, Chain.size()); in vectorizeLoadChain()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp497 Constant *FoldReinterpretLoadFromConstPtr(Constant *C, Type *LoadTy, in FoldReinterpretLoadFromConstPtr() argument
500 auto *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr()
511 if (LoadTy->isHalfTy()) in FoldReinterpretLoadFromConstPtr()
513 else if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr()
515 else if (LoadTy->isDoubleTy()) in FoldReinterpretLoadFromConstPtr()
517 else if (LoadTy->isVectorTy()) { in FoldReinterpretLoadFromConstPtr()
519 DL.getTypeAllocSizeInBits(LoadTy)); in FoldReinterpretLoadFromConstPtr()
525 return FoldBitCast(Res, LoadTy, DL); in FoldReinterpretLoadFromConstPtr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp790 Type *LoadTy = LI->getType(); in MaterializeAdjustedValue() local
794 if (Res->getType() != LoadTy) { in MaterializeAdjustedValue()
795 Res = getStoreValueForLoad(Res, Offset, LoadTy, InsertPt, DL); in MaterializeAdjustedValue()
804 if (Load->getType() == LoadTy && Offset == 0) { in MaterializeAdjustedValue()
807 Res = getLoadValueForLoad(Load, Offset, LoadTy, InsertPt, DL); in MaterializeAdjustedValue()
820 Res = getMemInstValueForLoad(getMemIntrinValue(), Offset, LoadTy, in MaterializeAdjustedValue()
829 return UndefValue::get(LoadTy); in MaterializeAdjustedValue()
H A DSROA.cpp1242 Type *LoadTy = cast<PointerType>(PN.getType())->getElementType(); in speculatePHINodeLoads() local
1244 PHINode *NewPN = PHIBuilder.CreatePHI(LoadTy, PN.getNumIncomingValues(), in speculatePHINodeLoads()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h640 QualType LoadTy = QualType());
683 QualType LoadTy);
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp692 const Type *LoadTy) { in CreateLoadIns() argument
696 LoadTy->getPointerTo(AddrSpace)); in CreateLoadIns()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2613 MVT LoadTy = ty(Op); in LowerUnalignedLoad() local
2614 unsigned NeedAlign = Subtarget.getTypeAlignment(LoadTy); in LowerUnalignedLoad()
2652 assert(LoadTy.getSizeInBits() == 8*NeedAlign); in LowerUnalignedLoad()
2683 SDValue Load0 = DAG.getLoad(LoadTy, dl, Chain, Base0, WideMMO); in LowerUnalignedLoad()
2684 SDValue Load1 = DAG.getLoad(LoadTy, dl, Chain, Base1, WideMMO); in LowerUnalignedLoad()
2686 SDValue Aligned = DAG.getNode(HexagonISD::VALIGN, dl, LoadTy, in LowerUnalignedLoad()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2795 QualType LoadTy) { in evalLoad() argument
2816 if (LoadTy.isNull()) in evalLoad()
2817 LoadTy = BoundEx->getType(); in evalLoad()
2818 V = state->getSVal(location.castAs<Loc>(), LoadTy); in evalLoad()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp693 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, in isLoadBitCastBeneficial() argument
696 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial()
698 if (LoadTy.getScalarType() == MVT::i32) in isLoadBitCastBeneficial()
701 unsigned LScalarSize = LoadTy.getScalarSizeInBits(); in isLoadBitCastBeneficial()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1440 MVT LoadTy = TLI.getRegisterType(*DAG.getContext(), MVT::i8); in getSignAsIntValue() local
1442 SDValue StackPtr = DAG.CreateStackTemporary(FloatVT, LoadTy); in getSignAsIntValue()
1467 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1469 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
H A DSelectionDAGBuilder.cpp6663 Type *LoadTy = in getMemCmpLoad() local
6666 LoadTy = VectorType::get(LoadTy, LoadVT.getVectorNumElements()); in getMemCmpLoad()
6669 PointerType::getUnqual(LoadTy)); in getMemCmpLoad()
6672 const_cast<Constant *>(LoadInput), LoadTy, *Builder.DL)) in getMemCmpLoad()