/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 838 Type *LoadTy, in CanCoerceMustAliasedValueToLoad() argument 842 if (LoadTy->isStructTy() || LoadTy->isArrayTy() || in CanCoerceMustAliasedValueToLoad() 849 DL.getTypeSizeInBits(LoadTy)) in CanCoerceMustAliasedValueToLoad() 948 static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingWrite() argument 954 if (LoadTy->isStructTy() || LoadTy->isArrayTy()) in AnalyzeLoadFromClobberingWrite() 982 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy); in AnalyzeLoadFromClobberingWrite() 1023 static int AnalyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingStore() argument 1033 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingStore() 1040 static int AnalyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingLoad() argument 1048 int R = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, DL); in AnalyzeLoadFromClobberingLoad() [all …]
|
D | ScalarReplAggregates.cpp | 1368 Type *LoadTy = cast<PointerType>(PN->getType())->getElementType(); in tryToMakeAllocaBePromotable() local 1369 PHINode *NewPN = PHINode::Create(LoadTy, PN->getNumIncomingValues(), in tryToMakeAllocaBePromotable()
|
D | SROA.cpp | 1422 Type *LoadTy = cast<PointerType>(PN.getType())->getElementType(); in speculatePHINodeLoads() local 1424 PHINode *NewPN = PHIBuilder.CreatePHI(LoadTy, PN.getNumIncomingValues(), in speculatePHINodeLoads()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 405 Type *LoadTy = PTy->getElementType(); in FoldReinterpretLoadFromConstPtr() local 406 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr() 417 if (LoadTy->isHalfTy()) in FoldReinterpretLoadFromConstPtr() 419 else if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr() 421 else if (LoadTy->isDoubleTy()) in FoldReinterpretLoadFromConstPtr() 423 else if (LoadTy->isVectorTy()) { in FoldReinterpretLoadFromConstPtr() 425 DL.getTypeAllocSizeInBits(LoadTy), AS); in FoldReinterpretLoadFromConstPtr() 431 return FoldBitCast(Res, LoadTy, DL); in FoldReinterpretLoadFromConstPtr()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExprEngine.h | 523 QualType LoadTy = QualType()); 553 QualType LoadTy);
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 2204 QualType LoadTy) in evalLoad() argument 2227 evalLoadCommon(Dst, NodeEx, BoundEx, *I, state, location, tag, LoadTy); in evalLoad() 2233 evalLoadCommon(Dst, NodeEx, BoundEx, Pred, state, location, tag, LoadTy); in evalLoad() 2243 QualType LoadTy) { in evalLoadCommon() argument 2263 if (LoadTy.isNull()) in evalLoadCommon() 2264 LoadTy = BoundEx->getType(); in evalLoadCommon() 2265 V = state->getSVal(location.castAs<Loc>(), LoadTy); in evalLoadCommon()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 1573 MVT LoadTy = TLI.getPointerTy(); in ExpandFCOPYSIGN() local 1575 SDValue StackPtr = DAG.CreateStackTemporary(FloatVT, LoadTy); in ExpandFCOPYSIGN() 1583 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1589 unsigned Strides = (FloatVT.getSizeInBits()-1)/LoadTy.getSizeInBits(); in ExpandFCOPYSIGN() 1590 unsigned ByteOffset = (Strides * LoadTy.getSizeInBits()) / 8; in ExpandFCOPYSIGN() 1594 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1597 unsigned BitShift = LoadTy.getSizeInBits() - in ExpandFCOPYSIGN() 1599 assert(BitShift < LoadTy.getSizeInBits() && "Pointer advanced wrong?"); in ExpandFCOPYSIGN() 1601 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN()
|
D | SelectionDAGBuilder.cpp | 5591 Type *LoadTy, in getMemCmpLoad() argument 5599 PointerType::getUnqual(LoadTy)); in getMemCmpLoad() 5684 Type *LoadTy; in visitMemCmpCall() local 5688 LoadTy = nullptr; in visitMemCmpCall() 5693 LoadTy = Type::getInt16Ty(CSize->getContext()); in visitMemCmpCall() 5697 LoadTy = Type::getInt32Ty(CSize->getContext()); in visitMemCmpCall() 5701 LoadTy = Type::getInt64Ty(CSize->getContext()); in visitMemCmpCall() 5733 SDValue LHSVal = getMemCmpLoad(LHS, LoadVT, LoadTy, *this); in visitMemCmpCall() 5734 SDValue RHSVal = getMemCmpLoad(RHS, LoadVT, LoadTy, *this); in visitMemCmpCall()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 473 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, in isLoadBitCastBeneficial() argument 475 if (LoadTy.getSizeInBits() != CastTy.getSizeInBits()) in isLoadBitCastBeneficial() 478 unsigned LScalarSize = LoadTy.getScalarType().getSizeInBits(); in isLoadBitCastBeneficial()
|