Home
last modified time | relevance | path

Searched refs:IntValue (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.h24 unsigned IntValue; member
47 Item->IntValue = Value; in setAttributeItem()
70 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
77 Item->IntValue = IntValue; in setAttributeItems()
83 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
89 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVELFStreamer.cpp86 unsigned IntValue, in emitIntTextAttribute() argument
88 setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
130 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
137 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
155 Result += getULEB128Size(item.IntValue); in calculateContentSize()
163 Result += getULEB128Size(item.IntValue); in calculateContentSize()
H A DRISCVTargetStreamer.h35 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
48 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp37 unsigned IntValue, in emitIntTextAttribute() argument
146 unsigned IntValue, in emitIntTextAttribute() argument
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp535 static MatchTableRecord IntValue(int64_t IntValue) { in IntValue() argument
536 return MatchTableRecord(None, llvm::to_string(IntValue), 1, in IntValue()
1266 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1267 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") in emitPredicateOpcodes()
1306 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1307 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1309 << MatchTable::IntValue(SizeInBits) << MatchTable::LineBreak; in emitPredicateOpcodes()
1340 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1341 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1342 << MatchTable::Comment("StoreIdx") << MatchTable::IntValue(StoreIdx) in emitPredicateOpcodes()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp136 llvm::APInt IntValue; in tryExpandAsInteger() local
138 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in tryExpandAsInteger()
145 IntValue = -IntValue; in tryExpandAsInteger()
148 return IntValue.getSExtValue(); in tryExpandAsInteger()
H A DBugReporterVisitors.cpp2770 Optional<const llvm::APSInt *> IntValue; in printValue() local
2772 IntValue = getConcreteIntegerValue(CondVarExpr, N); in printValue()
2774 if (IsAssuming || !IntValue.hasValue()) { in printValue()
2781 Out << (IntValue.getValue()->getBoolValue() ? "true" : "false"); in printValue()
2783 Out << *IntValue.getValue(); in printValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DPatternInit.cpp24 const uint64_t IntValue = in initializationPatternFor() local
40 return llvm::ConstantInt::get(Ty, IntValue); in initializationPatternFor()
42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor()
51 auto *Int = llvm::ConstantInt::get(IntTy, IntValue); in initializationPatternFor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp93 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
208 unsigned IntValue, in emitIntTextAttribute() argument
213 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
288 unsigned IntValue; member
330 Item->IntValue = Value; in setAttributeItem()
357 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
364 Item->IntValue = IntValue; in setAttributeItems()
371 IntValue, std::string(StringValue)}; in setAttributeItems()
397 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
796 unsigned IntValue, in emitIntTextAttribute() argument
[all …]
H A DARMTargetStreamer.cpp108 unsigned IntValue, in emitIntTextAttribute() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCObjectStreamer.cpp312 int64_t IntValue; in emitULEB128Value() local
313 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitULEB128Value()
314 emitULEB128IntValue(IntValue); in emitULEB128Value()
321 int64_t IntValue; in emitSLEB128Value() local
322 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitSLEB128Value()
323 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
H A DMCAsmStreamer.cpp1212 int64_t IntValue; in emitValueImpl() local
1213 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl()
1230 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl()
1256 int64_t IntValue; in emitULEB128Value() local
1257 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value()
1258 emitULEB128IntValue(IntValue); in emitULEB128Value()
1267 int64_t IntValue; in emitSLEB128Value() local
1268 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value()
1269 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp146 int64_t IntValue = 0; in deserializeMCOperand() local
148 if (tryDeserializeIntegerOperand(String, IntValue)) in deserializeMCOperand()
149 return MCOperand::createImm(IntValue); in deserializeMCOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3163 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() local
3164 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
3166 getStreamer().emitIntValue(IntValue, Size); in parseDirectiveValue()
3180 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local
3182 if (!IntValue.isIntN(128)) in parseHexOcta()
3184 if (!IntValue.isIntN(64)) { in parseHexOcta()
3185 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3186 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta()
3189 lo = IntValue.getZExtValue(); in parseHexOcta()
4843 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local
[all …]
H A DMasmParser.cpp1637 uint64_t IntValue = 0; in parsePrimaryExpr() local
1639 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr()
1640 Res = MCConstantExpr::create(IntValue, getContext()); in parsePrimaryExpr()
3441 int64_t IntValue = MCE->getValue(); in emitIntValue() local
3442 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue()
3444 getStreamer().emitIntValue(IntValue, Size); in emitIntValue()
3596 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local
3598 if (!IntValue.isIntN(128)) in parseHexOcta()
3600 if (!IntValue.isIntN(64)) { in parseHexOcta()
3601 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1599 uint64_t IntValue = MCE->getValue(); in ParseDirectiveWord() local
1600 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveWord()
1603 getStreamer().emitIntValue(IntValue, Size); in ParseDirectiveWord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp713 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local
714 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign()
716 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp69 SDValue IntValue; member
1494 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue()
1529 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1559 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1561 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN()
1578 EVT MagVT = MagAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1580 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, MagVT, MagAsInt.IntValue, in ExpandFCOPYSIGN()
1613 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFNEG()
1618 DAG.getNode(ISD::XOR, DL, IntVT, SignAsInt.IntValue, SignMask); in ExpandFNEG()
1638 EVT IntVT = ValueAsInt.IntValue.getValueType(); in ExpandFABS()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp936 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectRelationalOperator() local
937 if ((IntValue == 1) || (IntValue == 0)) in checkIncorrectRelationalOperator()
941 !IntValue.isNegative(); in checkIncorrectRelationalOperator()
998 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectEqualityOperator() local
999 if ((IntValue == 1) || (IntValue == 0)) { in checkIncorrectEqualityOperator()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCStreamer.h154 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1777 Value *IntValue = in expandAtomicOpToLibcall() local
1779 Args.push_back(IntValue); in expandAtomicOpToLibcall()