Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DGVN.cpp720 Type *LoadTy, in CanCoerceMustAliasedValueToLoad() argument
724 if (LoadTy->isStructTy() || LoadTy->isArrayTy() || in CanCoerceMustAliasedValueToLoad()
731 TD.getTypeSizeInBits(LoadTy)) in CanCoerceMustAliasedValueToLoad()
830 static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingWrite() argument
836 if (LoadTy->isStructTy() || LoadTy->isArrayTy()) in AnalyzeLoadFromClobberingWrite()
863 uint64_t LoadSize = TD.getTypeSizeInBits(LoadTy); in AnalyzeLoadFromClobberingWrite()
904 static int AnalyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingStore() argument
914 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingStore()
921 static int AnalyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingLoad() argument
929 int R = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, TD); in AnalyzeLoadFromClobberingLoad()
[all …]
DScalarReplAggregates.cpp1248 Type *LoadTy = cast<PointerType>(PN->getType())->getElementType(); in tryToMakeAllocaBePromotable() local
1249 PHINode *NewPN = PHINode::Create(LoadTy, PN->getNumIncomingValues(), in tryToMakeAllocaBePromotable()
/external/clang/lib/StaticAnalyzer/Checkers/
DOSAtomicChecker.cpp118 QualType LoadTy; in evalOSAtomicCompareAndSwap() local
121 LoadTy = TR->getValueType(); in evalOSAtomicCompareAndSwap()
124 state, location, &OSAtomicLoadTag, LoadTy); in evalOSAtomicCompareAndSwap()
/external/llvm/lib/Analysis/
DConstantFolding.cpp389 Type *LoadTy = cast<PointerType>(C->getType())->getElementType(); in FoldReinterpretLoadFromConstPtr() local
390 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr()
399 if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr()
401 else if (LoadTy->isDoubleTy()) in FoldReinterpretLoadFromConstPtr()
403 else if (LoadTy->isVectorTy()) { in FoldReinterpretLoadFromConstPtr()
405 TD.getTypeAllocSizeInBits(LoadTy)); in FoldReinterpretLoadFromConstPtr()
412 return FoldBitCast(Res, LoadTy, TD); in FoldReinterpretLoadFromConstPtr()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h451 QualType LoadTy = QualType());
466 QualType LoadTy);
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1634 QualType LoadTy) in evalLoad() argument
1658 evalLoadCommon(Dst, NodeEx, BoundEx, *I, state, location, tag, LoadTy); in evalLoad()
1664 evalLoadCommon(Dst, NodeEx, BoundEx, Pred, state, location, tag, LoadTy); in evalLoad()
1674 QualType LoadTy) { in evalLoadCommon() argument
1700 if (LoadTy.isNull()) in evalLoadCommon()
1701 LoadTy = BoundEx->getType(); in evalLoadCommon()
1702 SVal V = state->getSVal(cast<Loc>(location), LoadTy); in evalLoadCommon()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1474 MVT LoadTy = TLI.getPointerTy(); in ExpandFCOPYSIGN() local
1476 SDValue StackPtr = DAG.CreateStackTemporary(FloatVT, LoadTy); in ExpandFCOPYSIGN()
1484 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1490 unsigned Strides = (FloatVT.getSizeInBits()-1)/LoadTy.getSizeInBits(); in ExpandFCOPYSIGN()
1491 unsigned ByteOffset = (Strides * LoadTy.getSizeInBits()) / 8; in ExpandFCOPYSIGN()
1495 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1498 unsigned BitShift = LoadTy.getSizeInBits() - in ExpandFCOPYSIGN()
1500 assert(BitShift < LoadTy.getSizeInBits() && "Pointer advanced wrong?"); in ExpandFCOPYSIGN()
1502 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN()
DSelectionDAGBuilder.cpp5363 Type *LoadTy, in getMemCmpLoad() argument
5371 PointerType::getUnqual(LoadTy)); in getMemCmpLoad()
5427 Type *LoadTy; in visitMemCmpCall() local
5431 LoadTy = 0; in visitMemCmpCall()
5436 LoadTy = Type::getInt16Ty(Size->getContext()); in visitMemCmpCall()
5440 LoadTy = Type::getInt32Ty(Size->getContext()); in visitMemCmpCall()
5444 LoadTy = Type::getInt64Ty(Size->getContext()); in visitMemCmpCall()
5470 SDValue LHSVal = getMemCmpLoad(LHS, LoadVT, LoadTy, *this); in visitMemCmpCall()
5471 SDValue RHSVal = getMemCmpLoad(RHS, LoadVT, LoadTy, *this); in visitMemCmpCall()