Searched refs:Const (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp124 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1)); local
127 if (!Const)
134 // Check if Const is one of our recognized consts.
136 if (Const->isZero()) {
139 } else if (Const->isInfinity()) {
141 WhichConst = Const->isNegative() ? 2 : 1;
142 } else if (Const->isExactlyValue(Smallest)) {
148 } else if (Const->isExactlyValue(NegSmallest)) {
234 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1)); local
237 if (!Const)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeBuiltin.cpp35 return (Mods & ModifierOptions::Const) != ModifierOptions::None;
H A DNativeTypePointer.cpp134 return (Record->getOptions() & PointerOptions::Const) != PointerOptions::None;
H A DNativeTypeUDT.cpp138 return (Modifiers->Modifiers & ModifierOptions::Const) !=
H A DNativeTypeEnum.cpp357 return ((Modifiers->getModifiers() & ModifierOptions::Const) !=
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp249 Constant *Const = nullptr; local
251 m_Constant(Const))))
255 if (auto *CDS = dyn_cast<ConstantDataSequential>(Const)) {
338 if (auto *Const = dyn_cast<SCEVConstant>(S->getOperand(0))) {
339 if (Const->getAPInt() != -VF->getValue())
347 if (auto *Const = dyn_cast<SCEVConstant>(S->getOperand(0))) {
348 if (Const->getValue() != VF)
356 if (auto *Const = dyn_cast<SCEVConstant>(S->getRHS())) {
357 if (Const->getValue() != VF)
363 if (auto *Const
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp33 static std::string GetRecordMethodMacroName(bool Static, bool Const, argument
42 if (Const)
56 static std::string GetRegisterMethodMacroName(bool Static, bool Const) { argument
64 if (Const)
73 bool Const) {
77 OS << GetRecordMethodMacroName(Static, Const, Values.empty());
126 bool Static, bool Const) {
129 OS << GetRegisterMethodMacroName(Static, Const);
70 GetRecordMethodMacro(StringRef Result, StringRef Class, StringRef Method, StringRef Signature, StringRef Values, bool Static, bool Const) argument
124 GetRegisterMethodMacro(StringRef Result, StringRef Class, StringRef Method, StringRef Signature, bool Static, bool Const) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h44 const Value *Const; ///< Valid for constants. member in union:llvm::SDDbgValue::__anon2157
72 u.Const = C;
105 const Value *getConst() const { assert (kind==CONST); return u.Const; }
/freebsd-11-stable/crypto/openssl/crypto/md5/asm/
H A Dmd5-x86_64.pl26 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
51 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
75 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
99 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp195 if (Mods & uint16_t(ModifierOptions::Const))
324 ConstantSym Const(SymbolKind::S_CONSTANT);
326 cantFail(Mapping.visitKnownRecord(Sym, Const));
328 return Const.Name;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp357 if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(0)))
358 ICmpConst = Const;
359 else if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(1)))
360 ICmpConst = Const;
462 auto Const = cast<ConstantInt>(I->getOperand(1)); local
463 auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs());
536 if (auto *Const = dyn_cast<ConstantInt>(Op)) {
537 Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy);
H A DHardwareLoops.cpp362 if (auto *Const = dyn_cast<ConstantInt>(ICmp->getOperand(OpIdx)))
363 return Const->isZero() && ICmp->getOperand(OpIdx ^ 1) == Count;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp256 if (auto Const = dyn_cast<ConstantSDNode>(ImmOperand)) {
258 Const->getSExtValue(), SDLoc(ImmOperand), ImmOperand.getValueType());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp286 auto Const = buildInstr(TargetOpcode::G_CONSTANT) local
289 return buildSplatVector(Res, Const);
292 auto Const = buildInstr(TargetOpcode::G_CONSTANT); local
293 Res.addDefToMIB(*getMRI(), Const); local
294 Const.addCImm(&Val);
295 return Const;
318 auto Const = buildInstr(TargetOpcode::G_FCONSTANT) local
322 return buildSplatVector(Res, Const);
325 auto Const = buildInstr(TargetOpcode::G_FCONSTANT); local
326 Res.addDefToMIB(*getMRI(), Const); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp549 ConstantAggregateBuilder &Const, CharUnits Offset,
612 ConstantAggregateBuilder &Const,
616 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater);
642 if (!Const.add(FillC, Offset, true))
647 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType,
651 Const.condense(Offset, ElemTy);
654 if (!Const.add(Val, Offset, true))
851 ConstantAggregateBuilder Const(Emitter.CGM);
852 ConstStructBuilder Builder(Emitter, Const, CharUnits::Zero());
863 ConstantAggregateBuilder Const(Emitte
611 EmitDesignatedInitUpdater(ConstantEmitter &Emitter, ConstantAggregateBuilder &Const, CharUnits Offset, QualType Type, InitListExpr *Updater) argument
874 UpdateStruct(ConstantEmitter &Emitter, ConstantAggregateBuilder &Const, CharUnits Offset, InitListExpr *Updater) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h301 Const = 0x0001, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions
361 Const = 0x00000400, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::PointerKind::PointerMode::PointerOptions
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp868 SizeOffsetType Const = Visitor.compute(V); local
869 if (Visitor.bothKnown(Const))
870 return std::make_pair(ConstantInt::get(Context, Const.first),
871 ConstantInt::get(Context, Const.second));
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp188 bool Const; member in class:__anon961::PointerType
191 PointerType(const Type *Pointee, bool Const) argument
192 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {}
203 if (Const)
982 const PointerType *getPointerType(const Type *T, bool Const) {
983 PointerType PT(T, Const);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp1754 Constant *Const = nullptr; local
1768 Const = ConstantStruct::get(ST, ConstVals);
1774 Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType());
1776 assert(Const && "Constant is nullptr here!");
1794 LLVM_DEBUG(dbgs() << " Constant: " << *Const << " = " << *V << '\n');
1797 V->replaceAllUsesWith(Const);
H A DMergeICmps.cpp375 const auto *const Const = dyn_cast<ConstantInt>(Val); local
377 if (!Const->isZero()) return {};
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp584 SDValue Mul_1 = Shl_0.getOperand(1); // Const
600 SDValue Sub_0 = Shl_0.getOperand(0); // Const 0
606 SDValue Shl2_1 = Sub_1.getOperand(1); // Const
1394 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N1)) {
1397 if (!IsAligned(Const->getZExtValue()))
1401 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue();
1402 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const),
2066 SDValue Const = CurDAG->getConstant(MaxPowerOf2, SDLoc(N), local
2069 Sum, Const);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5279 template <bool Const> class AssociationIteratorTy;
5281 /// The Const template parameter is for the const and non-const versions
5283 template <bool Const> class AssociationTy {
5287 typename std::conditional<Const, const Expr *, Expr *>::type;
5288 using TSIPtrTy = typename std::conditional<Const, const TypeSourceInfo *,
5309 template <bool Const>
5312 AssociationIteratorTy<Const>, std::input_iterator_tag,
5313 AssociationTy<Const>, std::ptrdiff_t, AssociationTy<Const>,
5314 AssociationTy<Const>> {
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp81 PUSH_FLAG(PointerOptions, Const, Options, "const");
92 PUSH_FLAG(ModifierOptions, Const, Options, "const");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp702 if (MCConstantExpr const *Const = dyn_cast<MCConstantExpr>(Op.getImm())) {
703 int64_t RegNum = Const->getValue();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp126 MachineInstr *Const = BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), local
129 LIS.InsertMachineInstrInMaps(*Const);

Completed in 348 milliseconds

123