Home
last modified time | relevance | path

Searched refs:IndexVal (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIModeRegisterDefaults.cpp241 uint32_t IndexVal = FltRounds; in decodeFltRoundToHWConversionTable() local
242 if (IndexVal > TowardNegative) in decodeFltRoundToHWConversionTable()
243 IndexVal -= ExtendedFltRoundOffset; in decodeFltRoundToHWConversionTable()
244 return (FltRoundToHWConversionTable >> (IndexVal << 2)) & 0xf; in decodeFltRoundToHWConversionTable()
H A DSIISelLowering.cpp4368 SDValue IndexVal = in lowerSET_ROUNDING() local
4373 DAG.getNode(ISD::SHL, SL, MVT::i32, IndexVal, Two); in lowerSET_ROUNDING()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpLowering.cpp395 size_t IndexVal = IndexOp->getZExtValue(); in replaceResRetUses() local
396 assert(IndexVal < 4 && "Index into buffer load out of range"); in replaceResRetUses()
397 if (!Extracts[IndexVal]) in replaceResRetUses()
398 Extracts[IndexVal] = IRB.CreateExtractValue(Op, IndexVal); in replaceResRetUses()
399 EEI->replaceAllUsesWith(Extracts[IndexVal]); in replaceResRetUses()
628 size_t IndexVal = IndexOp->getZExtValue(); in lowerBufferStore() local
629 assert(IndexVal < 4 && "Too many elements for buffer store"); in lowerBufferStore()
630 DataElements[IndexVal] = IEI->getOperand(1); in lowerBufferStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp54 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index); in makeSubFnCall() local
61 return CallInst::Create(Fn, {Arg, IndexVal}, "", InsertPt->getIterator()); in makeSubFnCall()
H A DCoroSplit.cpp338 ConstantInt *IndexVal = Shape.getIndex(Shape.CoroSuspends.size() - 1); in markCoroutineAsDone() local
342 Builder.CreateStore(IndexVal, FinalIndex); in markCoroutineAsDone()
1517 ConstantInt *IndexVal = Shape.getIndex(SuspendIndex); in createResumeEntryBlock() local
1531 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
1566 Switch->addCase(IndexVal, ResumeBB); in createResumeEntryBlock()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp391 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl() local
393 << IndexVal << Data->ArrayType; in handleOutOfBoundsImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DRISCV.cpp998 Value *IndexVal = llvm::ConstantInt::get(Int32Ty, Index); in loadRISCVFeatureBits() local
1000 IndexVal}; in loadRISCVFeatureBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2289 unsigned IndexVal = Index->getAsZExtVal(); in LowerSIGN_EXTEND_INREG() local
2294 DAG.getConstant(IndexVal * Scale, DL, Index->getValueType(0)); in LowerSIGN_EXTEND_INREG()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp1248 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheckImpl() local
1256 llvm::Value *Check = Accessed ? Builder.CreateICmpULT(IndexVal, BoundVal) in EmitBoundsCheckImpl()
1257 : Builder.CreateICmpULE(IndexVal, BoundVal); in EmitBoundsCheckImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4937 const Value *IndexVal = GEP->getOperand(GEP->getNumOperands() - 1); in getUniformBase() local
4940 if (BasePtr->getType()->isVectorTy() || !IndexVal->getType()->isVectorTy()) in getUniformBase()
4953 Index = SDB->getValue(IndexVal); in getUniformBase()
H A DDAGCombiner.cpp23633 unsigned IndexVal = in visitEXTRACT_VECTOR_ELT() local
23635 SDValue Elt = VecOp.getOperand(IndexVal); in visitEXTRACT_VECTOR_ELT()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11590 APSInt IndexVal = E->getShuffleMaskIdx(EltNum); in handleVectorShuffle() local
11591 int64_t index = IndexVal.getExtValue(); in handleVectorShuffle()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp22933 uint64_t IndexVal = CIndex->getZExtValue(); in replaceSplatVectorStore() local
22934 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
22936 IndexNotInserted.reset(IndexVal); in replaceSplatVectorStore()