Home
last modified time | relevance | path

Searched refs:Assume (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/external/llvm-project/llvm/unittests/Analysis/
DAssumeBundleQueriesTest.cpp44 bool hasMatchesExactlyAttributes(IntrinsicInst *Assume, Value *WasOn, in hasMatchesExactlyAttributes() argument
54 if (ShouldHaveAttr != hasAttributeInAssume(*Assume, WasOn, Attr)) in hasMatchesExactlyAttributes()
60 bool hasTheRightValue(IntrinsicInst *Assume, Value *WasOn, in hasTheRightValue() argument
63 if (!hasAttributeInAssume(*Assume, WasOn, Kind, &ArgVal)) in hasTheRightValue()
87 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() local
88 Assume->insertBefore(I); in TEST()
89 ASSERT_TRUE(hasMatchesExactlyAttributes(Assume, I->getOperand(0), in TEST()
91 ASSERT_TRUE(hasMatchesExactlyAttributes(Assume, I->getOperand(1), in TEST()
93 ASSERT_TRUE(hasTheRightValue(Assume, I->getOperand(0), in TEST()
95 ASSERT_TRUE(hasTheRightValue(Assume, I->getOperand(0), in TEST()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DAssumeBundleQueries.cpp36 static Value *getValueFromBundleOpInfo(CallInst &Assume, in getValueFromBundleOpInfo() argument
40 return (Assume.op_begin() + BOI.Begin + Idx)->get(); in getValueFromBundleOpInfo()
47 IntrinsicInst &Assume = cast<IntrinsicInst>(AssumeCI); in hasAttributeInAssume() local
48 assert(Assume.getIntrinsicID() == Intrinsic::assume && in hasAttributeInAssume()
55 if (Assume.bundle_op_infos().empty()) in hasAttributeInAssume()
58 for (auto &BOI : Assume.bundle_op_infos()) { in hasAttributeInAssume()
62 IsOn != getValueFromBundleOpInfo(Assume, BOI, ABA_WasOn))) in hasAttributeInAssume()
67 cast<ConstantInt>(getValueFromBundleOpInfo(Assume, BOI, ABA_Argument)) in hasAttributeInAssume()
76 IntrinsicInst &Assume = cast<IntrinsicInst>(AssumeCI); in fillMapFromAssume() local
77 assert(Assume.getIntrinsicID() == Intrinsic::assume && in fillMapFromAssume()
[all …]
DAssumptionCache.cpp126 auto &AVV = getOrInsertAffectedValues(AV.Assume); in updateAffectedValues()
128 return Elem.Assume == CI && Elem.Index == AV.Index; in updateAffectedValues()
139 auto AVI = AffectedValues.find_as(AV.Assume); in unregisterAssumption()
145 if (Elem.Assume == CI) { in unregisterAssumption()
147 Elem.Assume = nullptr; in unregisterAssumption()
149 HasNonnull |= !!Elem.Assume; in unregisterAssumption()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFeatures.td36 "Assume that the distinct-operands facility is installed"
41 "Assume that the fast-serialization facility is installed"
46 "Assume that the floating-point extension facility is installed"
51 "Assume that the high-word facility is installed"
56 "Assume that interlocked-access facility 1 is installed"
62 "Assume that the load/store-on-condition facility is installed"
68 "Assume that the population-count facility is installed"
73 "Assume that the message-security-assist extension facility 3 is installed"
78 "Assume that the message-security-assist extension facility 4 is installed"
83 "Assume that the reset-reference-bits-multiple facility is installed"
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZFeatures.td43 "Assume that the distinct-operands facility is installed"
48 "Assume that the fast-serialization facility is installed"
53 "Assume that the floating-point extension facility is installed"
58 "Assume that the high-word facility is installed"
63 "Assume that interlocked-access facility 1 is installed"
69 "Assume that the load/store-on-condition facility is installed"
75 "Assume that the population-count facility is installed"
80 "Assume that the message-security-assist extension facility 3 is installed"
85 "Assume that the message-security-assist extension facility 4 is installed"
90 "Assume that the reset-reference-bits-multiple facility is installed"
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZProcessors.td24 "Assume that the distinct-operands facility is installed"
29 "Assume that the load/store-on-condition facility is installed"
34 "Assume that the load/store-on-condition facility 2 is installed"
39 "Assume that the high-word facility is installed"
44 "Assume that the floating-point extension facility is installed"
49 "Assume that the population-count facility is installed"
54 "Assume that the fast-serialization facility is installed"
59 "Assume that interlocked-access facility 1 is installed"
65 "Assume that the miscellaneous-extensions facility is installed"
70 "Assume that the transactional-execution facility is installed"
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DAssumeBundleBuilder.cpp121 [&](RetainedKnowledge RKOther, Instruction *Assume, in tryToPreserveWithoutAddingAssume()
123 if (!isValidAssumeForContext(Assume, InstBeingRemoved, DT)) in tryToPreserveWithoutAddingAssume()
128 } else if (isValidAssumeForContext(InstBeingRemoved, Assume, in tryToPreserveWithoutAddingAssume()
131 IntrinsicInst *Intr = cast<IntrinsicInst>(Assume); in tryToPreserveWithoutAddingAssume()
324 IntrinsicInst *Assume = cast<IntrinsicInst>(V); in buildMapping() local
326 auto *Arg = dyn_cast<ConstantInt>(Assume->getOperand(0)); in buildMapping()
330 BBToAssume[Assume->getParent()].push_back(Assume); in buildMapping()
344 for (IntrinsicInst *Assume : CleanupToDo) { in RunCleanup()
345 auto *Arg = dyn_cast<ConstantInt>(Assume->getOperand(0)); in RunCleanup()
347 (!ForceCleanup && !isAssumeWithEmptyBundle(*Assume))) in RunCleanup()
[all …]
/external/vogar/test/vogar/target/junit4/
DAssumeTest.java18 import org.junit.Assume;
30 Assume.assumeTrue(true); in assumesCorrectly()
36 Assume.assumeTrue(false); in assumesIncorrectly()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DJndiResourceResolverTest.java27 import org.junit.Assume;
51 Assume.assumeNoException(new JndiResourceResolverFactory().unavailabilityCause()); in jndiResolverWorks()
63 Assume.assumeNoException(e); in jndiResolverWorks()
65 Assume.assumeNoException(e); in jndiResolverWorks()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java30 import org.junit.Assume;
76 Assume.assumeTrue(ServerBuilder.class.isAssignableFrom(builderClass)); in serverBuilderHidesMethod_forPort()
86 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forAddress()
96 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forTarget()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DURLStreamHandlerRuntimeTest.java14 import org.junit.Assume;
31 Assume.assumeTrue(!jdk9); in checkJDK()
/external/testng/src/test/java/test/junit4/
DJUnit4Sample2.java4 import org.junit.Assume;
38 Assume.assumeTrue(false); in ta()
DJUnit4ParameterizedTest.java7 import org.junit.Assume;
55 Assume.assumeTrue(false); in ta()
/external/mockito/src/test/java/org/mockitoutil/
DVmArgAssumptions.java10 import static org.junit.Assume.assumeFalse;
11 import static org.junit.Assume.assumeTrue;
/external/llvm-project/llvm/include/llvm/Analysis/
DAssumeBundleQueries.h115 RetainedKnowledge getKnowledgeFromOperandInAssume(CallInst &Assume,
136 bool isAssumeWithEmptyBundle(CallInst &Assume);
162 RetainedKnowledge getKnowledgeFromBundle(CallInst &Assume,
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DTlsTest.java51 import org.junit.Assume;
101 Assume.assumeTrue(OpenSsl.isAvailable()); in setUp()
105 Assume.assumeTrue(Arrays.asList( in setUp()
110 Assume.assumeNotNull(jdkProvider); in setUp()
120 Assume.assumeNoException("Not Java 9+ and Jetty ALPN does not seem available", ex); in setUp()
127 Assume.assumeNotNull(jdkProvider); in setUp()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerLivenessStressTest.kt25 Assume.assumeTrue(CORE_POOL_SIZE >= 2) in testInternalSubmissions()
41 Assume.assumeTrue(CORE_POOL_SIZE >= 2) in testExternalSubmissions()
/external/mockito/src/test/java/org/mockitointegration/
DNoJUnitDependenciesTest.java10 import org.junit.Assume;
25Assume.assumeTrue("ByteBuddyMockMaker".equals(Plugins.getMockMaker().getClass().getSimpleName())); in pure_mockito_should_not_depend_JUnit___ByteBuddy()
/external/junit/src/main/java/org/junit/
DAssume.java36 public class Assume { class
43 public Assume() { in Assume() method in Assume
/external/llvm-project/compiler-rt/lib/xray/
Dxray_trampoline_arm.S15 @ Assume that "q" part of the floating-point registers is not used
45 @ Assume that d1-d7 are not used for the return value.
46 @ Assume that "q" part of the floating-point registers is not used for the
78 @ Assume that "q" part of the floating-point registers is not used
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Dinterleaved-accesses-3.ll9 ; only when getPtrStride is called with Assume=true. Next, because
11 ; for possible pointer wrapping. Here we currently use Assume=false and as a
15 ; FIXME: This is a missed optimization. Once we use Assume=true here, we will
/external/mockito/src/test/java/org/mockitousage/jls/
DJLS_15_12_2_5Test.java8 import org.junit.Assume;
49Assume.assumeTrue(ClassFileVersion.of(JLS_15_12_2_5_Java6_Java7_Test.class).equals(JAVA_V6) in setUp()
184Assume.assumeTrue(ClassFileVersion.of(JLS_15_12_2_5_Java8_Test.class).isAtLeast(JAVA_V8)); in setUp()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java65 import org.junit.Assume;
153 Assume.assumeTrue("Skipping test: " + classname + " unavailable", in assumeClassAvailable()
177 Assume.assumeTrue("Skipping test: " in assumeSetEndpointIdentificationAlgorithmAvailable()
196 Assume.assumeTrue(isAndroid()); in assumeAndroid()
201 Assume.assumeTrue(isAndroid() in assumeAllowsUnsignedCrypto()
213 Assume.assumeTrue("SHA2 with DSA signatures not available", available); in assumeSHA2WithDSAAvailable()
751 Assume.assumeTrue("Require Java 8: " + javaVersion(), isJavaVersion(8)); in assumeJava8()
/external/llvm-project/llvm/test/Analysis/MemorySSA/
Dfunction-mem-attrs.ll27 ; Assume that #N is readonly
51 ; Assume that #N is readonly
/external/llvm/test/Transforms/Util/MemorySSA/
Dfunction-mem-attrs.ll27 ; Assume that #N is readonly
51 ; Assume that #N is readonly

12345678910>>...15