Home
last modified time | relevance | path

Searched refs:getExtValue (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DNVPTX.cpp360 *MaxThreadsVal = MaxThreads.getExtValue(); in handleCUDALaunchBoundsAttr()
362 F->addFnAttr("nvvm.maxntid", llvm::utostr(MaxThreads.getExtValue())); in handleCUDALaunchBoundsAttr()
373 *MinBlocksVal = MinBlocks.getExtValue(); in handleCUDALaunchBoundsAttr()
375 F->addFnAttr("nvvm.minctasm", llvm::utostr(MinBlocks.getExtValue())); in handleCUDALaunchBoundsAttr()
383 *MaxClusterRankVal = MaxBlocks.getExtValue(); in handleCUDALaunchBoundsAttr()
386 llvm::utostr(MaxBlocks.getExtValue())); in handleCUDALaunchBoundsAttr()
H A DAMDGPU.cpp391 .getExtValue(); in setFunctionDeclAttributes()
396 .getExtValue() in setFunctionDeclAttributes()
401 .getExtValue() in setFunctionDeclAttributes()
718 return E->EvaluateKnownConstInt(getContext()).getExtValue(); in handleAMDGPUFlatWorkGroupSizeAttr()
745 Attr->getMin()->EvaluateKnownConstInt(getContext()).getExtValue(); in handleAMDGPUWavesPerEUAttr()
748 ? Attr->getMax()->EvaluateKnownConstInt(getContext()).getExtValue() in handleAMDGPUWavesPerEUAttr()
H A DSPIR.cpp288 N = FlatWGS->getMax()->EvaluateKnownConstInt(M.getContext()).getExtValue(); in setTargetAttributes()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBitwiseShiftChecker.cpp180 LowerBoundStr = formatv(" >= {0},", MinRight->getExtValue()); in checkOvershift()
276 const int64_t RHS = ConcreteRight->getValue()->getExtValue(); in checkLeftShiftOverflow()
H A DCStringChecker.cpp539 OS << IdxInt->getExtValue(); in checkInit()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h99 int64_t getExtValue() const { in getExtValue() function
105 return isRepresentableByInt64() ? std::optional<int64_t>(getExtValue()) in tryExtValue()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp1266 return Val.getExtValue(); in handleUIntLiteral()
1287 Overflowed |= (Negated && MaxNegativeMagnitude < Val.getExtValue()); in handleIntLiteral()
1290 Overflowed |= (!Negated && MaxPositiveMagnitude < Val.getExtValue()); in handleIntLiteral()
1302 return int32_t(Val.getExtValue()); in handleIntLiteral()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp170 Value = N.getExtValue(); in mapEncodedInteger()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACCClause.cpp1178 << ICE.has_value() << ICE.value_or(llvm::APSInt{}).getExtValue(); in CheckGangDimExpr()
2001 << ICE.has_value() << ICE.value_or(llvm::APSInt{}).getExtValue(); in CheckTileSizeExpr()
2029 << ICE.has_value() << ICE.value_or(llvm::APSInt{}).getExtValue(); in CheckCollapseLoopCount()
H A DSemaX86.cpp464 int ArgExtValue = Result.getExtValue(); in CheckBuiltinTileDuplicate()
H A DSemaTemplateVariadic.cpp1232 Index = Value.getExtValue(); in BuildPackIndexingExpr()
H A DSemaARM.cpp836 int64_t CoprocNo = CoprocNoAP.getExtValue(); in CheckARMCoprocessorImmediate()
H A DSemaChecking.cpp1591 << Result->getExtValue(); in checkPointerAuthDiscriminatorArg()
1594 << Result->getExtValue() << Max; in checkPointerAuthDiscriminatorArg()
12038 return llvm::IsSingleCodeUnitUTF8Codepoint(Value.getExtValue()); in DiagnoseMixedUnicodeImplicitConversion()
12040 return llvm::IsSingleCodeUnitUTF16Codepoint(Value.getExtValue()); in DiagnoseMixedUnicodeImplicitConversion()
12042 return llvm::IsSingleCodeUnitUTF32Codepoint(Value.getExtValue()); in DiagnoseMixedUnicodeImplicitConversion()
12048 << FormatUTFCodeUnitAsCodepoint(Value.getExtValue(), E->getType()); in DiagnoseMixedUnicodeImplicitConversion()
14275 CharUnits Offset = EltSize * IdxRes->getExtValue(); in getAlignmentAndOffsetFromBinAddOrSub()
H A DSemaExpr.cpp1577 return llvm::IsSingleCodeUnitUTF8Codepoint(Value.getExtValue()); in CheckUnicodeArithmeticConversions()
1579 return llvm::IsSingleCodeUnitUTF16Codepoint(Value.getExtValue()); in CheckUnicodeArithmeticConversions()
1581 return llvm::IsSingleCodeUnitUTF32Codepoint(Value.getExtValue()); in CheckUnicodeArithmeticConversions()
1620 << FormatUTFCodeUnitAsCodepoint(LHSValue.getExtValue(), LHSType) in CheckUnicodeArithmeticConversions()
1621 << FormatUTFCodeUnitAsCodepoint(RHSValue.getExtValue(), RHSType); in CheckUnicodeArithmeticConversions()
H A DSemaHLSL.cpp3117 if (!Offset.has_value() || std::abs(Offset->getExtValue()) != 1) { in CheckBuiltinFunctionCall()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp102 CharacterLiteral::print(Val.getExtValue(), Kind, Out); in printIntegral()
H A DAPValue.cpp672 int64_t Char64 = Val.getInt().getExtValue(); in TryPrintAsStringLiteral()
H A DStmt.cpp526 auto Ch = static_cast<char>(C.getInt().getExtValue()); in ExtractStringFromGCCAsmStmtComponent()
H A DExprConstant.cpp9273 VT->getNumElements(), Index.getExtValue()); in VisitArraySubscriptExpr()
11591 int64_t index = IndexVal.getExtValue(); in handleVectorShuffle()
18020 StringResult->push_back(Char.getInt().getExtValue()); in EvaluateBuiltinStrLen()
18083 Result.push_back(static_cast<char>(C.getExtValue())); in EvaluateCharRangeAsStringImpl()
H A DType.cpp4179 return static_cast<unsigned>(Index.getExtValue()); in getSelectedIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2470 Offset = (int)Token.integerValue().getExtValue(); in parseCFIOffset()
2778 ShufMask.push_back(Int.getExtValue()); in parseShuffleMaskOperand()
3058 Offset = Token.integerValue().getExtValue(); in parseOffset()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp751 const int64_t BitReprAsSigned = Int.getExtValue(); in mkBitvector()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp658 return E->EvaluateKnownConstInt(FD->getASTContext()).getExtValue(); in EmitKernelMetadata()
669 return E->EvaluateKnownConstInt(FD->getASTContext()).getExtValue(); in EmitKernelMetadata()
H A DCGDecl.cpp2949 Alignment->EvaluateKnownConstInt(getContext()).getExtValue(); in getOMPAllocateAlignment()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h4574 return static_cast<unsigned>(Index.getExtValue()); in getSelectedIndex()

12