Home
last modified time | relevance | path

Searched refs:Const (Results 1 – 25 of 118) sorted by relevance

12345

/openbsd/src/gnu/llvm/clang/lib/Sema/
DOpenCLBuiltins.td307 list<bit> Const = [0, 1, 0];
521 Attr.Const>;
525 Attr.Const>;
535 def : Builtin<"get_work_dim", [UInt], Attr.Const>;
539 def : Builtin<name, [Size, UInt], Attr.Const>;
570 def : Builtin<name, [FGenTypeN, FGenTypeN], Attr.Const>;
573 def : Builtin<name, [GenTypeFloatVecAndScalar, GenTypeUIntVecAndScalar], Attr.Const>;
574 def : Builtin<name, [GenTypeDoubleVecAndScalar, GenTypeULongVecAndScalar], Attr.Const>;
575 def : Builtin<name, [GenTypeHalfVecAndScalar, GenTypeUShortVecAndScalar], Attr.Const>;
582 def : Builtin<name, [FGenTypeN, FGenTypeN, FGenTypeN], Attr.Const>;
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp128 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1)); in convertFCmp() local
131 if (!Const) in convertFCmp()
140 if (Const->isZero()) { in convertFCmp()
143 } else if (Const->isInfinity()) { in convertFCmp()
145 WhichConst = Const->isNegative() ? 2 : 1; in convertFCmp()
146 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp()
152 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
238 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1)); in convertICmp() local
241 if (!Const) in convertICmp()
251 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DSDNodeDbgValue.h56 return u.Const; in getConst()
80 static SDDbgOperand fromConst(const Value *Const) { in fromConst() argument
81 return SDDbgOperand(Const); in fromConst()
108 const Value *Const; ///< Valid for constants. member
119 SDDbgOperand(const Value *C) : kind(CONST) { u.Const = C; } in SDDbgOperand()
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/
Dcxx_proto.proto25 message Const { message
54 Const cons = 2;
Dcxx_loop_proto.proto21 message Const { message
57 Const cons = 1;
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp201 if (Mods & uint16_t(ModifierOptions::Const)) in visitKnownRecord()
330 ConstantSym Const(SymbolKind::S_CONSTANT); in getSymbolName() local
332 cantFail(Mapping.visitKnownRecord(Sym, Const)); in getSymbolName()
334 return Const.Name; in getSymbolName()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp301 auto Const = buildInstr(TargetOpcode::G_CONSTANT) in buildConstant() local
304 return buildSplatVector(Res, Const); in buildConstant()
307 auto Const = buildInstr(TargetOpcode::G_CONSTANT); in buildConstant() local
308 Const->setDebugLoc(DebugLoc()); in buildConstant()
309 Res.addDefToMIB(*getMRI(), Const); in buildConstant()
310 Const.addCImm(&Val); in buildConstant()
311 return Const; in buildConstant()
334 auto Const = buildInstr(TargetOpcode::G_FCONSTANT) in buildFConstant() local
338 return buildSplatVector(Res, Const); in buildFConstant()
341 auto Const = buildInstr(TargetOpcode::G_FCONSTANT); in buildFConstant() local
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/f/
Dinfo-w.def35 FFEINFO_WHERE (FFEINFO_whereFLEETING_CADDR, "Fleet-Const", "fp") /* "A(3)", "CHARS(4:5)". */
40 FFEINFO_WHERE (FFEINFO_whereCONSTANT_SUBOBJECT, "Const-subobj", "q") /* As in "'FOO'(I:J)". */
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DTypePromotion.cpp350 if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(0))) in isSafeWrap() local
351 ICmpConstant = Const; in isSafeWrap()
352 else if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(1))) in isSafeWrap() local
353 ICmpConstant = Const; in isSafeWrap()
492 if (auto *Const = dyn_cast<ConstantInt>(Op)) { in PromoteTree() local
500 ? ConstantExpr::getSExt(Const, ExtTy) in PromoteTree()
501 : ConstantExpr::getZExt(Const, ExtTy); in PromoteTree()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGExprConstant.cpp570 ConstantAggregateBuilder &Const, CharUnits Offset,
635 ConstantAggregateBuilder &Const, in EmitDesignatedInitUpdater() argument
639 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater); in EmitDesignatedInitUpdater()
665 if (!Const.add(FillC, Offset, true)) in EmitDesignatedInitUpdater()
670 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
674 Const.condense(Offset, ElemTy); in EmitDesignatedInitUpdater()
677 if (!Const.add(Val, Offset, true)) in EmitDesignatedInitUpdater()
883 ConstantAggregateBuilder Const(Emitter.CGM); in BuildStruct() local
884 ConstStructBuilder Builder(Emitter, Const, CharUnits::Zero()); in BuildStruct()
895 ConstantAggregateBuilder Const(Emitter.CGM); in BuildStruct() local
[all …]
DCGHLSLRuntime.cpp81 for (auto &Const : Buf.Constants) { in layoutBuffer() local
82 GlobalVariable *GV = Const.first; in layoutBuffer()
83 Const.second = EltTys.size(); in layoutBuffer()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeBuiltin.cpp34 return (Mods & ModifierOptions::Const) != ModifierOptions::None; in isConstType()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.h30 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V); in isNullConstantOrUndef() local
31 return Const != nullptr && Const->isZero(); in isNullConstantOrUndef()
/openbsd/src/gnu/llvm/clang/utils/TableGen/
DClangSyntaxEmitter.cpp222 for (const char *Const : {"", "const "}) in EmitClangSyntaxNodeClasses()
227 Role, Constraint.NodeType, Const); in EmitClangSyntaxNodeClasses()
/openbsd/src/gnu/llvm/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c879 value llvm_int64_of_const(LLVMValueRef Const) { in llvm_int64_of_const() argument
880 if (!(LLVMIsAConstantInt(Const)) || in llvm_int64_of_const()
881 !(LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64)) in llvm_int64_of_const()
883 return caml_alloc_some(caml_copy_int64(LLVMConstIntGetSExtValue(Const))); in llvm_int64_of_const()
898 value llvm_float_of_const(LLVMValueRef Const) { in llvm_float_of_const() argument
901 if (!LLVMIsAConstantFP(Const)) in llvm_float_of_const()
903 Result = LLVMConstRealGetDouble(Const, &LosesInfo); in llvm_float_of_const()
962 value llvm_string_of_const(LLVMValueRef Const) { in llvm_string_of_const() argument
965 if (!LLVMIsAConstantDataSequential(Const) || !LLVMIsConstantString(Const)) in llvm_string_of_const()
967 CStr = LLVMGetAsString(Const, &Len); in llvm_string_of_const()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
DDWARFTypePrinter.h60 bool SkipFirstParamIfArtificial, bool Const,
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/
DHashBase.t68 main::Const::Test;
79 my $pkg = 'main::Const::Test';
83 *main::Const::Test::FOO = sub { 0 };
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerCombiner.cpp134 auto Const = getIConstantVRegValWithLookThrough(RHS, MRI); in matchAArch64MulConstCombine() local
135 if (!Const) in matchAArch64MulConstCombine()
138 APInt ConstValue = Const->Value.sext(Ty.getSizeInBits()); in matchAArch64MulConstCombine()
/openbsd/src/gnu/usr.bin/perl/os2/OS2/OS2-Process/
DProcess.pm236 require OS2::Process::Const;
238 my ($err, $val) = OS2::Process::Const::constant($sym);
244 require OS2::Process::Const;
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp384 std::optional<int64_t> Const; in getVarAndConst() local
386 if ((Const = getIfConst(Add->getOperand(0)))) in getVarAndConst()
388 else if ((Const = getIfConst(Add->getOperand(1)))) in getVarAndConst()
394 int64_t Immediate = *Const << TypeScale; in getVarAndConst()
1113 ConstantInt *Const; in CheckAndCreateOffsetAdd() local
1114 if ((Const = dyn_cast<ConstantInt>(NonVectorVal)) && in CheckAndCreateOffsetAdd()
1117 uint64_t N = Const->getZExtValue(); in CheckAndCreateOffsetAdd()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
DDWARFTypePrinter.cpp523 DWARFDie D, DWARFDie Inner, bool SkipFirstParamIfArtificial, bool Const, in appendSubroutineNameAfter() argument
556 Const |= U.getTag() == DW_TAG_const_type; in appendSubroutineNameAfter()
626 if (Const) in appendSubroutineNameAfter()
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h303 Const = 0x0001, enumerator
366 Const = 0x00000400, enumerator
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-cxx/
Dproto_to_cxx.cpp26 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<()
Dloop_proto_to_cxx.cpp46 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<()
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-llvm/
Dloop_proto_to_llvm.cpp51 std::string ConstToString(const Const &x) { in ConstToString()

12345