Home
last modified time | relevance | path

Searched refs:Behavior (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DVectorBuilder.h27 enum class Behavior { enum
40 Behavior ErrorHandling;
62 Behavior ErrorHandling = Behavior::ReportAndAbort)
H A DModule.h167 ModFlagBehavior Behavior; member
172 : Behavior(B), Key(K), Val(V) {} in ModuleFlagEntry()
513 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
514 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
515 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
518 void setModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
/llvm-project-15.0.7/llvm/lib/IR/
H A DModule.cpp278 if (ConstantInt *Behavior = mdconst::dyn_extract_or_null<ConstantInt>(MD)) { in isValidModFlagBehavior() local
279 uint64_t Val = Behavior->getLimitedValue(); in isValidModFlagBehavior()
349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() argument
353 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Behavior)), in addModuleFlag()
357 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() argument
359 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
361 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() argument
364 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
375 void Module::setModuleFlag(ModFlagBehavior Behavior, StringRef Key, in setModuleFlag() argument
389 addModuleFlag(Behavior, Key, Val); in setModuleFlag()
H A DVectorBuilder.cpp25 if (ErrorHandling == Behavior::SilentlyReturnNone) in handleError()
H A DCore.cpp313 LLVMModuleFlagBehavior Behavior; member
320 map_to_llvmModFlagBehavior(LLVMModuleFlagBehavior Behavior) { in map_to_llvmModFlagBehavior() argument
321 switch (Behavior) { in map_to_llvmModFlagBehavior()
339 map_from_llvmModFlagBehavior(Module::ModFlagBehavior Behavior) { in map_from_llvmModFlagBehavior() argument
340 switch (Behavior) { in map_from_llvmModFlagBehavior()
366 Result[i].Behavior = map_from_llvmModFlagBehavior(ModuleFlag.Behavior); in LLVMCopyModuleFlagsMetadata()
384 return MFE.Behavior; in LLVMModuleFlagEntriesGetFlagBehavior()
407 void LLVMAddModuleFlag(LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, in LLVMAddModuleFlag() argument
410 unwrap(M)->addModuleFlag(map_to_llvmModFlagBehavior(Behavior), in LLVMAddModuleFlag()
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DVisibilityMacros.rst38 **Windows Behavior**: Any symbol marked `dllimport` cannot be overridden
76 **GCC Behavior**: GCC does not support Clang's `type_visibility(...)`
80 **Windows Behavior**: DLLs do not support dllimport/export on class templates.
88 **Windows Behavior**: DLLs do not support importing or exporting enumeration
91 **GCC Behavior**: GCC un-hides the typeinfo for enumerations by default, even
105 **Windows Behavior**: `extern template` and `dllexport` are fundamentally
H A DAtomicDesign.rst40 // Behavior is defined for mem_ord = 0, 1, 2, 5
44 // Behavior is defined for mem_ord = 0, 3, 5
48 // Behavior is defined for mem_ord = [0 ... 5]
52 // Behavior is defined for mem_success = [0 ... 5],
72 // Behavior is defined for mem_ord = [0 ... 5]
78 // Behavior is defined for mem_ord = [0 ... 5]
84 // Behavior is defined for mem_ord = [0 ... 5]
90 // Behavior is defined for mem_ord = [0 ... 5]
96 // Behavior is defined for mem_ord = [0 ... 5]
99 // Behavior is defined for mem_ord = [0 ... 5]
[all …]
H A DUnspecifiedBehaviorRandomization.rst2 Unspecified Behavior Randomization
/llvm-project-15.0.7/libcxx/include/
H A D__bits116 return 32; // Undefined Behavior.
138 return 64; // Undefined Behavior.
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dtrace-malloc-unbalanced.test17 # Behavior of the format string "%p" is implementation defined. Account for the
/llvm-project-15.0.7/llvm/unittests/IR/
H A DVectorBuilderTest.cpp259 VectorBuilder VBuild(Builder, VectorBuilder::Behavior::SilentlyReturnNone); in TEST_F()
274 VectorBuilder VBuild(Builder, VectorBuilder::Behavior::ReportAndAbort); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILTranslateMetadata.cpp81 M.addModuleFlag(Flag.Behavior, Key, Flag.Val); in cleanModuleFlags()
/llvm-project-15.0.7/openmp/docs/openacc/
H A DOpenMPExtensions.rst63 Behavior section in ``ompx_hold`` Map Type Modifier
104 *in effect* (see :ref:`Behavior <ompx-holdBehavior>` above) when the
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCompositeOps.td192 Behavior is undefined if Index's value is less than zero or greater than
246 Behavior is undefined if Index's value is less than zero or greater than
H A DSPIRVGroupOps.td31 Behavior is undefined if this instruction is used in control flow that
/llvm-project-15.0.7/polly/test/DeLICM/
H A Dpr48783.ll87 ; CHECK: Defined Behavior Context:
H A Dpr41656.ll86 ; CHECK: Defined Behavior Context:
/llvm-project-15.0.7/clang/test/Modules/
H A Dmerge-extension-ivars.m137 // Behavior with and without extension should be the same.
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseInit.cpp559 switch (Result.Behavior) { in ParseMicrosoftIfExistsBraceInitializer()
H A DParser.cpp2278 Result.Behavior = Result.IsIfExists ? IEB_Parse : IEB_Skip; in ParseMicrosoftIfExistsCondition()
2282 Result.Behavior = !Result.IsIfExists ? IEB_Parse : IEB_Skip; in ParseMicrosoftIfExistsCondition()
2286 Result.Behavior = IEB_Dependent; in ParseMicrosoftIfExistsCondition()
2307 switch (Result.Behavior) { in ParseMicrosoftIfExistsExternalDeclaration()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1205 FunctionModRefBehavior Behavior = AA->getModRefBehavior(CI); in canSinkOrHoistInst() local
1206 if (Behavior == FMRB_DoesNotAccessMemory) in canSinkOrHoistInst()
1208 if (AAResults::onlyReadsMemory(Behavior)) { in canSinkOrHoistInst()
1212 if (AAResults::onlyAccessesArgPointees(Behavior)) { in canSinkOrHoistInst()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DIRMover.cpp1280 uint64_t Behavior = in linkModuleFlagsMetadata() local
1284 if (Behavior == Module::Require) { in linkModuleFlagsMetadata()
1287 if (Behavior == Module::Min) in linkModuleFlagsMetadata()
/llvm-project-15.0.7/clang/docs/
H A DUndefinedBehaviorSanitizer.rst367 `What Every C Programmer Should Know About Undefined Behavior
370 `A Guide to Undefined Behavior in C and C++
/llvm-project-15.0.7/llvm/docs/
H A DTypeMetadata.rst267 - Behavior
/llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/
H A Dbuffer-loop-hoisting.mlir191 // Behavior: The allocs %0, %4 and %9 are moved upwards, while %7 and %8 stay

12