| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 111 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in foldIntegerTypedPHI() local 112 if (!IntToPtr) in foldIntegerTypedPHI() 133 if (!HasPointerUse(IntToPtr)) in foldIntegerTypedPHI() 136 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) != in foldIntegerTypedPHI() 137 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in foldIntegerTypedPHI() 153 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in foldIntegerTypedPHI() 200 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in foldIntegerTypedPHI() 216 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in foldIntegerTypedPHI() 225 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in foldIntegerTypedPHI() 234 if (V->getType() == IntToPtr->getType()) in foldIntegerTypedPHI() [all …]
|
| H A D | InstructionCombining.cpp | 352 auto *IntToPtr = dyn_cast<IntToPtrInst>(Val); in simplifyIntToPtrRoundTripCast() local 353 if (IntToPtr && DL.getPointerTypeSizeInBits(IntToPtr->getDestTy()) == in simplifyIntToPtrRoundTripCast() 354 DL.getTypeSizeInBits(IntToPtr->getSrcTy())) { in simplifyIntToPtrRoundTripCast() 355 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() 356 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 243 assert(I2P->getOpcode() == Instruction::IntToPtr); in isNoopPtrIntCastPair() 295 case Instruction::IntToPtr: in isAddressExpression() 328 case Instruction::IntToPtr: { in getPointerOperands() 618 case Instruction::IntToPtr: { in cloneInstructionWithNewAddressSpace() 670 if (CE->getOpcode() == Instruction::IntToPtr) { in cloneConstantExprWithNewAddressSpace() 1008 if (Op->getOpcode() == Instruction::IntToPtr && in isSafeToCastConstAddrSpace()
|
| H A D | SpeculativeExecution.cpp | 232 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 478 case Instruction::IntToPtr: in lookupOrAdd()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 264 case Instruction::IntToPtr: in ResolveConstantValue() 463 case Instruction::IntToPtr: in CanResolveConstant() 570 case Instruction::IntToPtr: in CanInterpret() 1110 case Instruction::IntToPtr: { in Interpret()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 388 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 542 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 599 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr() 971 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1282 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1306 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1381 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1396 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
| H A D | MemoryBuiltins.cpp | 637 if (CE->getOpcode() == Instruction::IntToPtr) in compute() 936 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) || in compute_()
|
| H A D | ObjCARCInstKind.cpp | 273 case Instruction::IntToPtr: in GetARCInstKind()
|
| H A D | CFLGraph.h | 529 case Instruction::IntToPtr: { in visitConstantExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 216 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | NoFolder.h | 250 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | Instruction.def | 194 HANDLE_CAST_INST(48, IntToPtr, IntToPtrInst) // Integer -> Pointer
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 202 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | TargetTransformInfoImpl.h | 484 case Instruction::IntToPtr: { in getCastInstrCost() 1002 case Instruction::IntToPtr: in getUserCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 224 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 455 case Instruction::IntToPtr: in findBaseObject()
|
| H A D | Instructions.cpp | 2725 case Instruction::IntToPtr: in isNoopCast() 2981 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create() 3003 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create() 3127 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3329 return IntToPtr; // int -> ptr in getCastOpcode() 3401 case Instruction::IntToPtr: in castIsValid() 3571 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst() 3577 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
|
| H A D | Instruction.cpp | 395 case IntToPtr: return "inttoptr"; in getOpcodeName()
|
| H A D | Constants.cpp | 1547 case Instruction::IntToPtr: in getWithOperands() 2008 case Instruction::IntToPtr: in getCast() 2220 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr() 3500 case Instruction::IntToPtr: in getAsInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 161 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 171 if (Op == Instruction::IntToPtr) { in InsertNoopCastOfTo() 192 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 196 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo() 202 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
|
| H A D | Evaluator.cpp | 89 case Instruction::IntToPtr: in isSimpleEnoughValueToCommitHelper()
|
| /freebsd-13.1/sys/net/ |
| H A D | netmap_user.h | 410 curr->win_netmap_handle = IntToPtr(_get_osfhandle(fd)); in win_insert_fd_record()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 886 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 172 case Instruction::IntToPtr: in getIntImmCostInst()
|