Home
last modified time | relevance | path

Searched refs:isVolatile (Results 1 – 25 of 100) sorted by relevance

1234

/external/llvm/lib/VMCore/
DInstruction.cpp193 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() && in isIdenticalToWhenDefined()
196 return SI->isVolatile() == cast<StoreInst>(I)->isVolatile() && in isIdenticalToWhenDefined()
232 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() && in isSameOperationAs()
235 return SI->isVolatile() == cast<StoreInst>(I)->isVolatile() && in isSameOperationAs()
289 return cast<StoreInst>(this)->isVolatile(); in mayReadFromMemory()
306 return cast<LoadInst>(this)->isVolatile(); in mayWriteToMemory()
375 if (LI->isVolatile()) in isSafeToSpeculativelyExecute()
DIRBuilder.cpp65 bool isVolatile, MDNode *TBAATag) { in CreateMemSet() argument
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet()
83 bool isVolatile, MDNode *TBAATag) { in CreateMemCpy() argument
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy()
103 bool isVolatile, MDNode *TBAATag) { in CreateMemMove() argument
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove()
DInstructions.cpp810 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst() argument
814 setVolatile(isVolatile); in LoadInst()
820 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst() argument
824 setVolatile(isVolatile); in LoadInst()
830 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst() argument
834 setVolatile(isVolatile); in LoadInst()
840 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst() argument
844 setVolatile(isVolatile); in LoadInst()
870 LoadInst::LoadInst(Value *Ptr, const char *Name, bool isVolatile, in LoadInst() argument
874 setVolatile(isVolatile); in LoadInst()
[all …]
/external/llvm/include/llvm/Target/
DTargetSelectionDAGInfo.h60 SDValue Op3, unsigned Align, bool isVolatile, in EmitTargetCodeForMemcpy() argument
77 SDValue Op3, unsigned Align, bool isVolatile, in EmitTargetCodeForMemmove() argument
93 SDValue Op3, unsigned Align, bool isVolatile, in EmitTargetCodeForMemset() argument
/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.h35 bool isVolatile, bool AlwaysInline,
45 bool isVolatile,
DARMSelectionDAGInfo.cpp33 bool isVolatile, bool AlwaysInline, in EmitTargetCodeForMemcpy() argument
69 SrcPtrInfo.getWithOffset(SrcOff), isVolatile, in EmitTargetCodeForMemcpy()
82 isVolatile, false, 0); in EmitTargetCodeForMemcpy()
145 unsigned Align, bool isVolatile, in EmitTargetCodeForMemset() argument
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.h41 bool isVolatile,
49 bool isVolatile, bool AlwaysInline,
DX86SelectionDAGInfo.cpp34 bool isVolatile, in EmitTargetCodeForMemset() argument
167 Align, isVolatile, DstPtrInfo.getWithOffset(Offset)); in EmitTargetCodeForMemset()
178 bool isVolatile, bool AlwaysInline, in EmitTargetCodeForMemcpy() argument
252 Align, isVolatile, AlwaysInline, in EmitTargetCodeForMemcpy()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp134 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); in InstCombineLoadCast()
167 if (LI.isVolatile()) return 0; in visitLoadInst()
375 if (!SI.isVolatile()) { in visitStoreInst()
420 if (!PrevSI->isVolatile() &&equivalentAddressValues(PrevSI->getOperand(1), in visitStoreInst()
435 !SI.isVolatile()) in visitStoreInst()
449 if (SI.isVolatile()) return 0; // Don't hack volatile stores. in visitStoreInst()
606 OtherStore->isVolatile(), in SimplifyStoreAtEndOfBlock()
DInstCombinePHI.cpp296 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI() local
309 if (isVolatile && in FoldPHIArgLoadIntoPHI()
321 if (LI->isVolatile() != isVolatile || in FoldPHIArgLoadIntoPHI()
337 if (isVolatile && in FoldPHIArgLoadIntoPHI()
373 if (isVolatile) in FoldPHIArgLoadIntoPHI()
377 LoadInst *NewLI = new LoadInst(PhiVal, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp208 bool isVolatile = LD->isVolatile(); in ExpandRes_NormalLoad() local
214 isVolatile, isNonTemporal, Alignment); in ExpandRes_NormalLoad()
222 isVolatile, isNonTemporal, in ExpandRes_NormalLoad()
393 bool isVolatile = St->isVolatile(); in ExpandOp_NormalStore() local
406 isVolatile, isNonTemporal, Alignment); in ExpandOp_NormalStore()
413 isVolatile, isNonTemporal, in ExpandOp_NormalStore()
DLegalizeDAG.cpp406 ST->isVolatile(), ST->isNonTemporal(), Alignment); in ExpandUnalignedStore()
439 ST->isVolatile(), ST->isNonTemporal(), in ExpandUnalignedStore()
462 MemVT, ST->isVolatile(), in ExpandUnalignedStore()
487 ST->isVolatile(), ST->isNonTemporal(), Alignment); in ExpandUnalignedStore()
493 NewStoredVT, ST->isVolatile(), ST->isNonTemporal(), in ExpandUnalignedStore()
514 LD->isVolatile(), in ExpandUnalignedLoad()
544 LD->isVolatile(), LD->isNonTemporal(), in ExpandUnalignedLoad()
561 MemVT, LD->isVolatile(), in ExpandUnalignedLoad()
605 NewLoadedVT, LD->isVolatile(), in ExpandUnalignedLoad()
611 NewLoadedVT, LD->isVolatile(), in ExpandUnalignedLoad()
[all …]
DLegalizeVectorTypes.cpp190 N->isVolatile(), N->isNonTemporal(), in ScalarizeVecRes_LOAD()
384 N->isVolatile(), N->isNonTemporal(), in ScalarizeVecOp_STORE()
389 N->isVolatile(), N->isNonTemporal(), in ScalarizeVecOp_STORE()
715 bool isVolatile = LD->isVolatile(); in SplitVecRes_LOAD() local
722 LD->getPointerInfo(), LoMemVT, isVolatile, isNonTemporal, in SplitVecRes_LOAD()
730 HiMemVT, isVolatile, isNonTemporal, Alignment); in SplitVecRes_LOAD()
1109 bool isVol = N->isVolatile(); in SplitVecOp_STORE()
2243 bool isVolatile = LD->isVolatile(); in GenWidenVectorLoads() local
2248 unsigned LdAlign = (isVolatile) ? 0 : Align; // Allow wider loads in GenWidenVectorLoads()
2254 isVolatile, isNonTemporal, Align); in GenWidenVectorLoads()
[all …]
DDAGCombiner.cpp695 MemVT, LD->isVolatile(), in PromoteOperand()
918 MemVT, LD->isVolatile(), in PromoteLoad()
2384 ((!LegalOperations && !LN0->isVolatile()) || in visitAND()
2389 LN0->isVolatile(), LN0->isNonTemporal(), in visitAND()
2406 ((!LegalOperations && !LN0->isVolatile()) || in visitAND()
2412 LN0->isVolatile(), LN0->isNonTemporal(), in visitAND()
2445 ExtVT, LN0->isVolatile(), LN0->isNonTemporal(), in visitAND()
2455 if (!LN0->isVolatile() && LoadedVT.bitsGT(ExtVT) && ExtVT.isRound() && in visitAND()
2481 ExtVT, LN0->isVolatile(), LN0->isNonTemporal(), in visitAND()
4024 ((!LegalOperations && !cast<LoadSDNode>(N0)->isVolatile()) || in visitSIGN_EXTEND()
[all …]
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp387 if (NextStore->isVolatile()) break; in INITIALIZE_PASS_DEPENDENCY()
403 if (MSI->isVolatile() || ByteVal != MSI->getValue() || in INITIALIZE_PASS_DEPENDENCY()
482 if (SI->isVolatile()) return false; in processStore()
490 if (!LI->isVolatile() && LI->hasOneUse() && in processStore()
547 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
705 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
762 Align, M->isVolatile()); in processMemCpyMemCpyDependence()
765 Align, M->isVolatile()); in processMemCpyMemCpyDependence()
783 if (CopySize == 0 || M->isVolatile()) return false; in processMemCpy()
876 if (MDep == 0 || MDep->isVolatile() || in processByValArgument()
DLICM.cpp360 if (LI->isVolatile()) in canSinkOrHoistInst()
665 AS.isVolatile() || !CurLoop->isLoopInvariant(AS.begin()->getValue())) in PromoteAliasSet()
718 assert(!cast<LoadInst>(Use)->isVolatile() && "AST broken"); in PromoteAliasSet()
726 assert(!cast<StoreInst>(Use)->isVolatile() && "AST broken"); in PromoteAliasSet()
DScalarReplAggregates.cpp483 if (LI->isVolatile()) in CanConvertToScalar()
495 if (SI->getOperand(0) == V || SI->isVolatile()) return false; in CanConvertToScalar()
1199 if (LI == 0 || LI->isVolatile()) return false; in isSafeSelectToSpeculate()
1240 if (LI == 0 || LI->isVolatile()) return false; in isSafePHIToSpeculate()
1298 if (LI->isVolatile()) in tryToMakeAllocaBePromotable()
1304 if (SI->getOperand(0) == AI || SI->isVolatile()) in tryToMakeAllocaBePromotable()
1673 if (LI->isVolatile()) in isSafeForScalarRepl()
1682 if (SI->isVolatile() || SI->getOperand(0) == I) in isSafeForScalarRepl()
1728 if (LI->isVolatile()) in isSafePHISelectUseForScalarRepl()
1737 if (SI->isVolatile() || SI->getOperand(0) == I) in isSafePHISelectUseForScalarRepl()
[all …]
/external/jdiff/src/jdiff/
DFieldAPI.java47 boolean isTransient, boolean isVolatile, in FieldAPI() argument
52 isVolatile_ = isVolatile; in FieldAPI()
DAPIHandler.java130 boolean isVolatile = false; in startElement()
132 isVolatile = true; in startElement()
134 XMLToAPI.addField(fieldName, fieldType, isTransient, isVolatile, in startElement()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp76 ComplexPairTy EmitLoadOfComplex(llvm::Value *SrcPtr, bool isVolatile);
279 bool isVolatile) { in EmitLoadOfComplex() argument
282 if (!IgnoreReal || isVolatile) { in EmitLoadOfComplex()
285 Real = Builder.CreateLoad(RealP, isVolatile, SrcPtr->getName() + ".real"); in EmitLoadOfComplex()
288 if (!IgnoreImag || isVolatile) { in EmitLoadOfComplex()
291 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr->getName() + ".imag"); in EmitLoadOfComplex()
299 bool isVolatile) { in EmitStoreOfComplex() argument
303 Builder.CreateStore(Val.first, RealPtr, isVolatile); in EmitStoreOfComplex()
304 Builder.CreateStore(Val.second, ImagPtr, isVolatile); in EmitStoreOfComplex()
DCGValue.h214 bool isVolatile() const { in isVolatile() function
403 bool isVolatile() const { in isVolatile() function
424 return RValue::getAggregate(getAddr(), isVolatile()); in asRValue()
/external/doclava/src/com/google/doclava/
DFieldInfo.java33 boolean isFinal, boolean isStatic, boolean isTransient, boolean isVolatile, in FieldInfo() argument
40 mIsVolatile = isVolatile; in FieldInfo()
48 isVolatile(), isSynthetic(), mType, getRawCommentText(), mConstantValue, position(), in cloneForClass()
394 public boolean isVolatile() { in isVolatile() method in FieldInfo
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DModifierTest.java165 assertTrue("Volatile returned false", Modifier.isVolatile(ALL_FLAGS)); in test_isVolatileI()
167 .isVolatile(Modifier.VOLATILE)); in test_isVolatileI()
169 .isVolatile(Modifier.TRANSIENT)); in test_isVolatileI()
/external/llvm/include/llvm/Support/
DIRBuilder.h276 bool isVolatile = false, MDNode *TBAATag = 0) {
277 return CreateMemSet(Ptr, Val, getInt64(Size), Align, isVolatile, TBAATag);
281 bool isVolatile = false, MDNode *TBAATag = 0);
287 bool isVolatile = false, MDNode *TBAATag = 0) {
288 return CreateMemCpy(Dst, Src, getInt64(Size), Align, isVolatile, TBAATag);
292 bool isVolatile = false, MDNode *TBAATag = 0);
298 bool isVolatile = false, MDNode *TBAATag = 0) {
299 return CreateMemMove(Dst, Src, getInt64(Size), Align, isVolatile, TBAATag);
303 bool isVolatile = false, MDNode *TBAATag = 0);
759 LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const Twine &Name = "") {
[all …]
/external/llvm/lib/Analysis/
DAliasSetTracker.cpp304 if (LI->isVolatile()) AS.setVolatile(); in add()
315 if (SI->isVolatile()) AS.setVolatile(); in add()
387 if (AS.isVolatile()) NewAS.setVolatile(); in add()
561 if (isVolatile()) OS << "[volatile] "; in print()

1234