Home
last modified time | relevance | path

Searched refs:Constants (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZConstantPoolValue.cpp29 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValue() local
30 for (unsigned I = 0, E = Constants.size(); I != E; ++I) { in getExistingMachineCPValue()
31 if (Constants[I].isMachineConstantPoolEntry() && in getExistingMachineCPValue()
32 Constants[I].getAlign() >= Alignment) { in getExistingMachineCPValue()
34 static_cast<SystemZConstantPoolValue *>(Constants[I].Val.MachineCPVal); in getExistingMachineCPValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVConstantPoolValue.cpp40 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValue() local
41 for (unsigned i = 0, e = Constants.size(); i != e; ++i) { in getExistingMachineCPValue()
42 if (Constants[i].isMachineConstantPoolEntry() && in getExistingMachineCPValue()
43 Constants[i].getAlign() >= Alignment) { in getExistingMachineCPValue()
45 static_cast<RISCVConstantPoolValue *>(Constants[i].Val.MachineCPVal); in getExistingMachineCPValue()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLRootSignature.cpp150 raw_ostream &operator<<(raw_ostream &OS, const RootConstants &Constants) { in operator <<() argument
151 OS << "RootConstants(num32BitConstants = " << Constants.Num32BitConstants in operator <<()
152 << ", " << Constants.Reg << ", space = " << Constants.Space in operator <<()
153 << ", visibility = " << Constants.Visibility << ")"; in operator <<()
220 [&OS](const RootConstants &Constants) { OS << Constants; }, in operator <<() argument
H A DRootSignatureMetadata.cpp54 [this](const RootConstants &Constants) -> MDNode * { in BuildRootSignature() argument
55 return BuildRootConstants(Constants); in BuildRootSignature()
90 MDNode *MetadataBuilder::BuildRootConstants(const RootConstants &Constants) { in BuildRootConstants() argument
95 Builder.getInt32(llvm::to_underlying(Constants.Visibility))), in BuildRootConstants()
96 ConstantAsMetadata::get(Builder.getInt32(Constants.Reg.Number)), in BuildRootConstants()
97 ConstantAsMetadata::get(Builder.getInt32(Constants.Space)), in BuildRootConstants()
98 ConstantAsMetadata::get(Builder.getInt32(Constants.Num32BitConstants)), in BuildRootConstants()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DDXContainerRootSignature.h41 SmallVector<dxbc::RTS0::v1::RootConstants> Constants; member
51 addInfo(Header, Constants.size()); in addParameter()
52 Constants.push_back(Constant); in addParameter()
83 return Constants[Index]; in getConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaConstantPoolValue.h65 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValueImpl() local
66 for (unsigned i = 0, e = Constants.size(); i != e; ++i) { in getExistingMachineCPValueImpl()
67 if (Constants[i].isMachineConstantPoolEntry() && in getExistingMachineCPValueImpl()
68 (Constants[i].getAlign() >= Alignment)) { in getExistingMachineCPValueImpl()
70 Constants[i].Val.MachineCPVal); in getExistingMachineCPValueImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantPoolValue.h89 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValueImpl() local
90 for (unsigned i = 0, e = Constants.size(); i != e; ++i) { in getExistingMachineCPValueImpl()
91 if (Constants[i].isMachineConstantPoolEntry() && in getExistingMachineCPValueImpl()
92 Constants[i].getAlign() >= Alignment) { in getExistingMachineCPValueImpl()
94 static_cast<CSKYConstantPoolValue *>(Constants[i].Val.MachineCPVal); in getExistingMachineCPValueImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h119 std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants. variable
143 bool isEmpty() const { return Constants.empty(); } in isEmpty()
146 return Constants; in getConstants()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h80 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValueImpl() local
81 for (unsigned i = 0, e = Constants.size(); i != e; ++i) { in getExistingMachineCPValueImpl()
82 if (Constants[i].isMachineConstantPoolEntry() && in getExistingMachineCPValueImpl()
83 Constants[i].getAlign() >= Alignment) { in getExistingMachineCPValueImpl()
85 static_cast<ARMConstantPoolValue*>(Constants[i].Val.MachineCPVal); in getExistingMachineCPValueImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILRootSignature.cpp105 dxbc::RTS0::v1::RootConstants Constants; in parseRootConstants() local
107 Constants.ShaderRegister = *Val; in parseRootConstants()
112 Constants.RegisterSpace = *Val; in parseRootConstants()
117 Constants.Num32BitValues = *Val; in parseRootConstants()
121 RSD.ParametersContainer.addParameter(Header, Constants); in parseRootConstants()
635 const dxbc::RTS0::v1::RootConstants &Constants = in run() local
637 OS << " Register Space: " << Constants.RegisterSpace << "\n" in run()
638 << " Shader Register: " << Constants.ShaderRegister << "\n" in run()
639 << " Num 32 Bit Values: " << Constants.Num32BitValues << "\n"; in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1484 for (const MachineConstantPoolEntry &C : Constants) in ~MachineConstantPool()
1556 for (unsigned i = 0, e = Constants.size(); i != e; ++i) in getConstantPoolIndex()
1557 if (!Constants[i].isMachineConstantPoolEntry() && in getConstantPoolIndex()
1558 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
1559 if (Constants[i].getAlign() < Alignment) in getConstantPoolIndex()
1560 Constants[i].Alignment = Alignment; in getConstantPoolIndex()
1564 Constants.push_back(MachineConstantPoolEntry(C, Alignment)); in getConstantPoolIndex()
1565 return Constants.size()-1; in getConstantPoolIndex()
1581 Constants.push_back(MachineConstantPoolEntry(V, Alignment)); in getConstantPoolIndex()
1582 return Constants.size()-1; in getConstantPoolIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerRootSignature.cpp102 const dxbc::RTS0::v1::RootConstants &Constants = in write() local
104 support::endian::write(BOS, Constants.ShaderRegister, in write()
106 support::endian::write(BOS, Constants.RegisterSpace, in write()
108 support::endian::write(BOS, Constants.Num32BitValues, in write()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp285 dxbc::RTS0::v1::RootConstants Constants; in writeParts() local
286 Constants.Num32BitValues = ConstantYaml.Num32BitValues; in writeParts()
287 Constants.RegisterSpace = ConstantYaml.RegisterSpace; in writeParts()
288 Constants.ShaderRegister = ConstantYaml.ShaderRegister; in writeParts()
289 RS.ParametersContainer.addParameter(Header, Constants); in writeParts()
H A DDXContainerYAML.cpp119 auto Constants = *ConstantsOrErr; in create() local
124 ConstantYaml.Num32BitValues = Constants.Num32BitValues; in create()
125 ConstantYaml.ShaderRegister = Constants.ShaderRegister; in create()
126 ConstantYaml.RegisterSpace = Constants.RegisterSpace; in create()
429 DXContainerYAML::RootConstantsYaml &Constants = in mapping() local
431 IO.mapRequired("Constants", Constants); in mapping()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp53 auto Constants = parseRootConstants(); in parse() local
54 if (!Constants.has_value()) { in parse()
59 Elements.emplace_back(ElementLoc, *Constants); in parse()
184 RootConstants Constants; in parseRootConstants() local
201 Constants.Num32BitConstants = Params->Num32BitConstants.value(); in parseRootConstants()
208 Constants.Reg = Params->Reg.value(); in parseRootConstants()
212 Constants.Visibility = Params->Visibility.value(); in parseRootConstants()
215 Constants.Space = Params->Space.value(); in parseRootConstants()
217 return Constants; in parseRootConstants()
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Derfcf.sollya18 // Constants
H A Derff.sollya18 // Constants
H A Derf.sollya18 // Constants
H A Derfc.sollya18 // Constants
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DRootSignatureMetadata.h41 MDNode *BuildRootConstants(const RootConstants &Constants);
H A DHLSLRootSignature.h158 const RootConstants &Constants);
/freebsd/stand/i386/btx/lib/
H A Dbtxsys.S26 # Constants.
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h41 llvm::dwarf::Constants Children;
506 template <> struct ScalarEnumerationTraits<dwarf::Constants> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
507 static void enumeration(IO &io, dwarf::Constants &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DDXContainerYAML.h134 SmallVector<RootConstantsYaml> Constants; member
150 return getOrInsertImpl(ParamDesc, Constants); in getOrInsertConstants()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def168 // C99 6.4.4.1: Integer Constants
169 // C99 6.4.4.2: Floating Constants
175 // C99 6.4.4: Character Constants
179 // C++17 Character Constants
182 // C++11 Character Constants

123