| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 112 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in foldIntegerTypedPHI() local 113 if (!IntToPtr) in foldIntegerTypedPHI() 134 if (!HasPointerUse(IntToPtr)) in foldIntegerTypedPHI() 137 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) != in foldIntegerTypedPHI() 213 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in foldIntegerTypedPHI() 217 replaceInstUsesWith(*IntToPtr, MatchingPtrPHI); in foldIntegerTypedPHI() 218 eraseInstFromFunction(*IntToPtr); in foldIntegerTypedPHI() 234 if (V->getType() == IntToPtr->getType()) in foldIntegerTypedPHI() 257 if (IncomingVal->getType() == IntToPtr->getType()) { in foldIntegerTypedPHI() 299 replaceInstUsesWith(*IntToPtr, NewPtrPHI); in foldIntegerTypedPHI() [all …]
|
| H A D | InstructionCombining.cpp | 367 auto *IntToPtr = dyn_cast<IntToPtrInst>(Val); in simplifyIntToPtrRoundTripCast() local 368 if (IntToPtr && DL.getTypeSizeInBits(IntToPtr->getDestTy()) == in simplifyIntToPtrRoundTripCast() 369 DL.getTypeSizeInBits(IntToPtr->getSrcTy())) { in simplifyIntToPtrRoundTripCast() 370 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() 371 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 274 assert(I2P->getOpcode() == Instruction::IntToPtr); in isNoopPtrIntCastPair() 326 case Instruction::IntToPtr: in isAddressExpression() 358 case Instruction::IntToPtr: { in getPointerOperands() 685 case Instruction::IntToPtr: { in cloneInstructionWithNewAddressSpace() 728 if (CE->getOpcode() == Instruction::IntToPtr) { in cloneConstantExprWithNewAddressSpace() 1111 if (Op->getOpcode() == Instruction::IntToPtr && in isSafeToCastConstAddrSpace()
|
| H A D | SpeculativeExecution.cpp | 232 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 482 case Instruction::IntToPtr: in lookupOrAdd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 176 case Instruction::IntToPtr: in inferScalarTypeForRecipe()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 291 case Instruction::IntToPtr: in ResolveConstantValue() 494 case Instruction::IntToPtr: in CanResolveConstant() 616 case Instruction::IntToPtr: in CanInterpret() 1211 case Instruction::IntToPtr: { in Interpret()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 160 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 170 if (Op == Instruction::IntToPtr) { in InsertNoopCastOfTo() 185 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 189 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo() 195 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
|
| H A D | Evaluator.cpp | 87 case Instruction::IntToPtr: in isSimpleEnoughValueToCommitHelper()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.def | 194 HANDLE_CAST_INST(48, IntToPtr, IntToPtrInst) // Integer -> Pointer
|
| H A D | VPIntrinsics.def | 507 VP_PROPERTY_FUNCTIONAL_OPC(IntToPtr)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 371 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 535 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 920 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1206 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1231 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1394 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1431 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
| H A D | ObjCARCInstKind.cpp | 273 case Instruction::IntToPtr: in GetARCInstKind()
|
| H A D | AliasAnalysis.cpp | 888 if (CE->getOpcode() == Instruction::IntToPtr) in isEscapeSource()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 356 case Instruction::IntToPtr: in findBaseObject()
|
| H A D | Constants.cpp | 1470 case Instruction::IntToPtr: in getWithOperands() 1973 case Instruction::IntToPtr: in getCast() 2053 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr() 2190 case Instruction::IntToPtr: in isDesirableCastOp() 2212 case Instruction::IntToPtr: in isSupportedCastOp() 3237 case Instruction::IntToPtr: in getAsInstruction()
|
| H A D | Instructions.cpp | 3096 case Instruction::IntToPtr: in isNoopCast() 3348 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create() 3370 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create() 3494 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3696 return IntToPtr; // int -> ptr in getCastOpcode() 3768 case Instruction::IntToPtr: in castIsValid() 3938 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst() 3944 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
|
| H A D | Instruction.cpp | 665 case IntToPtr: return "inttoptr"; in getOpcodeName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 589 case Instruction::IntToPtr: { in getCastInstrCost() 1221 case Instruction::IntToPtr: in getInstructionCost()
|
| /freebsd-14.2/sys/net/ |
| H A D | netmap_user.h | 427 curr->win_netmap_handle = IntToPtr(_get_osfhandle(fd)); in win_insert_fd_record()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 868 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 209 case Instruction::IntToPtr: in getIntImmCostInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 816 if (C->getOpcode() == Instruction::IntToPtr) { in selectPatchpoint() 1860 case Instruction::IntToPtr: // Deliberate fall-through. in selectOperator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 814 case Instruction::IntToPtr: in computeBBInlineCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 859 case Instruction::IntToPtr: in X86SelectAddress() 1034 case Instruction::IntToPtr: in X86SelectCallAddress() 3676 case Instruction::IntToPtr: // Deliberate fall-through. in fastSelectInstruction()
|