Home
last modified time | relevance | path

Searched refs:getSigned (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp128 ConstantInt::getSigned(Builder.getInt32Ty(), -1), IntTy); in expandFPToI()
130 Builder.CreateShl(ConstantInt::getSigned(IntTy, 1), in expandFPToI()
131 ConstantInt::getSigned(IntTy, BitWidth - 1)); in expandFPToI()
163 ARep0, ConstantInt::getSigned(Builder.getIntNTy(FloatWidth), -1)); in expandFPToI()
164 Value *Sign = Builder.CreateSelect(PosOrNeg, ConstantInt::getSigned(IntTy, 1), in expandFPToI()
165 ConstantInt::getSigned(IntTy, -1)); in expandFPToI()
179 And2, ConstantInt::getSigned( in expandFPToI()
182 Add1, ConstantInt::getSigned(IntTy, -static_cast<int64_t>(BitWidth))); in expandFPToI()
208 And2, ConstantInt::getSigned( in expandFPToI()
364 Value *Cmp = Builder.CreateICmpEQ(IntVal, ConstantInt::getSigned(IntTy, 0)); in expandIToFP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DRecordInitializer.cpp111 R.Size = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
185 R.Size = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
199 R.Delta = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
249 R.Size = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
263 R.Delta = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
338 R.PID = E.getSigned(&OffsetPtr, 4); in visit()
356 R.TID = E.getSigned(&OffsetPtr, sizeof(int32_t)); in visit()
H A DTrace.cpp121 Record.FuncId = Reader.getSigned(&OffsetPtr, sizeof(int32_t)); in loadNaiveFormatLog()
158 int32_t FuncId = Reader.getSigned(&OffsetPtr, sizeof(int32_t)); in loadNaiveFormatLog()
H A DProfile.cpp85 FuncId = Extractor.getSigned(&Offset, 4); in readPath()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h147 auto EHFramePtr = DE.getSigned(&Offset, 4) + EHFrameHdrAddress + 4; in printEHFrameHdr()
158 auto InitialPC = DE.getSigned(&Offset, 4) + EHFrameHdrAddress; in printEHFrameHdr()
160 auto Address = DE.getSigned(&Offset, 4) + EHFrameHdrAddress; in printEHFrameHdr()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDataExtractor.cpp108 Result = getSigned(Offset, 2); in getEncodedPointer()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDataExtractor.cpp142 DataExtractor::getSigned(uint64_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
153 llvm_unreachable("getSigned unhandled case!"); in getSigned()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDataExtractor.h306 int64_t getSigned(uint64_t *offset_ptr, uint32_t size) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp345 Value *ZeroV = ConstantInt::getSigned(getSlowType(), 0); in insertOperandRuntimeCheck()
H A DIntegerDivision.cpp153 ConstantInt *NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
H A DCodeExtractor.cpp1120 auto NegativeOne = ConstantInt::getSigned(Type::getInt64Ty(Ctx), -1); in insertLifetimeMarkersSurroundingCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h124 static ConstantInt *getSigned(IntegerType *Ty, int64_t V) { in getSigned() function
127 static Constant *getSigned(Type *Ty, int64_t V) { in getSigned() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp715 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo)); in getOrCreateSubrange()
717 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Count)); in getOrCreateSubrange()
723 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo)); in getOrCreateSubrange()
H A DDebugInfoMetadata.cpp457 ConstantInt::getSigned(Type::getInt64Ty(Context), Count)); in getImpl()
459 ConstantInt::getSigned(Type::getInt64Ty(Context), Lo)); in getImpl()
468 ConstantInt::getSigned(Type::getInt64Ty(Context), Lo)); in getImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1158 ZeroPrimitiveShadow = ConstantInt::getSigned(PrimitiveShadowTy, 0); in initializeModule()
1159 ZeroOrigin = ConstantInt::getSigned(OriginTy, 0); in initializeModule()
1535 ConstantInt::getSigned(OriginTy, in runImpl()
2235 ConstantInt::getSigned(IRB.getInt64Ty(), 0)) in loadShadowFast()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp6010 Constant *IsSPMDVal = ConstantInt::getSigned( in createTargetInit()
6012 Constant *UseGenericStateMachineVal = ConstantInt::getSigned(Int8, !IsSPMD); in createTargetInit()
6013 Constant *MayUseNestedParallelismVal = ConstantInt::getSigned(Int8, true); in createTargetInit()
6014 Constant *DebugIndentionLevelVal = ConstantInt::getSigned(Int16, 0); in createTargetInit()
6031 Constant *MinThreads = ConstantInt::getSigned(Int32, MinThreadsVal); in createTargetInit()
6032 Constant *MaxThreads = ConstantInt::getSigned(Int32, MaxThreadsVal); in createTargetInit()
6033 Constant *MinTeams = ConstantInt::getSigned(Int32, MinTeamsVal); in createTargetInit()
6034 Constant *MaxTeams = ConstantInt::getSigned(Int32, MaxTeamsVal); in createTargetInit()
6035 Constant *ReductionDataSize = ConstantInt::getSigned(Int32, 0); in createTargetInit()
6036 Constant *ReductionBufferLength = ConstantInt::getSigned(Int32, 0); in createTargetInit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp775 LowerBound = llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
785 UpperBound = llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
846 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
3286 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
3312 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
3315 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
3382 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getSigned( in CreateType()
H A DCGDeclCXX.cpp171 llvm::Value *Args[2] = {llvm::ConstantInt::getSigned(Int64Ty, Width), Addr}; in EmitInvariantStart()
H A DCGOpenMPRuntime.cpp4655 IfVal = llvm::ConstantInt::getSigned(CGF.IntTy, /*V=*/1); in emitTaskLoopCall()
4698 llvm::ConstantInt::getSigned( in emitTaskLoopCall()
4700 llvm::ConstantInt::getSigned( in emitTaskLoopCall()
11183 CGF.EmitStoreOfScalar(llvm::ConstantInt::getSigned(CGM.Int64Ty, /*V=*/1), in emitDoacrossInit()
11192 llvm::ConstantInt::getSigned(CGM.Int32Ty, NumIterations.size()), in emitDoacrossInit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp555 CI->replaceAllUsesWith(ConstantInt::getSigned(CI->getType(), -1)); in processCmpIntrinsic()
H A DConstraintElimination.cpp1463 I->replaceAllUsesWith(ConstantInt::getSigned(I->getType(), -1)); in checkAndReplaceCmp()
H A DLoopStrengthReduce.cpp344 const SCEV *SU = SE.getUnknown(ConstantInt::getSigned(Ty, Quantity)); in getUnknownSCEV()
5849 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1354 Constant *RHS = ConstantInt::getSigned(Ty, IsPop ? -1 : 0); in visitLShr()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp439 const ConstantInt *Offset = ConstantInt::getSigned(OffsetTy, Addr.Offset); in PPCSimplifyAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1242 return Ty->isIntegerTy() ? ConstantInt::getSigned(Ty, C) in getSignedIntOrFpConstant()

12