| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in FoldIntegerTypedPHI() local 103 if (!IntToPtr) in FoldIntegerTypedPHI() 124 if (!HasPointerUse(IntToPtr)) in FoldIntegerTypedPHI() 127 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) != in FoldIntegerTypedPHI() 128 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in FoldIntegerTypedPHI() 144 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 190 if (!PtrPHI || PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in FoldIntegerTypedPHI() 206 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 215 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in FoldIntegerTypedPHI() 222 if (V->getType() == IntToPtr->getType()) in FoldIntegerTypedPHI() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 231 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 475 case Instruction::IntToPtr: in lookupOrAdd()
|
| H A D | InferAddressSpaces.cpp | 846 if (Op->getOpcode() == Instruction::IntToPtr && in isSafeToCastConstAddrSpace()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 335 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 486 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 883 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1195 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1219 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1287 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1302 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
| H A D | MemoryBuiltins.cpp | 525 if (CE->getOpcode() == Instruction::IntToPtr) in compute() 813 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) || in compute_()
|
| H A D | ScalarEvolutionExpander.cpp | 116 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 131 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 135 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo() 141 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
|
| H A D | CFLGraph.h | 522 case Instruction::IntToPtr: { in visitConstantExpr()
|
| H A D | ObjCARCInstKind.cpp | 274 case Instruction::IntToPtr: in GetARCInstKind()
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr: in createReplacementInstr()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 262 case Instruction::IntToPtr: in ResolveConstantValue() 464 case Instruction::IntToPtr: in CanResolveConstant() 579 case Instruction::IntToPtr: in CanInterpret() 1201 case Instruction::IntToPtr: { in Interpret()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 209 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | NoFolder.h | 273 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | Instruction.def | 194 HANDLE_CAST_INST(47, IntToPtr, IntToPtrInst) // Integer -> Pointer
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
| H A D | TargetTransformInfoImpl.h | 74 case Instruction::IntToPtr: { in getOperationCost()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2338 case Instruction::IntToPtr: in isNoopCast() 2588 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create() 2610 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create() 2732 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 2992 return IntToPtr; // int -> ptr in getCastOpcode() 3067 case Instruction::IntToPtr: in castIsValid() 3249 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst() 3255 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
|
| H A D | Constants.cpp | 1226 case Instruction::IntToPtr: in getWithOperands() 1560 case Instruction::IntToPtr: in getCast() 1770 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr() 2988 case Instruction::IntToPtr: in getAsInstruction()
|
| H A D | Instruction.cpp | 347 case IntToPtr: return "inttoptr"; in getOpcodeName()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 221 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 91 case Instruction::IntToPtr: in isSimpleEnoughValueToCommitHelper()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | CompileOnDemandLayer.h | 472 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 359 I->getOpcode() == Instruction::IntToPtr) && in hasTrivialKill() 966 if (C->getOpcode() == Instruction::IntToPtr) { in selectPatchpoint() 1888 case Instruction::IntToPtr: // Deliberate fall-through. in selectOperator()
|
| /freebsd-12.1/sys/net/ |
| H A D | netmap_user.h | 416 curr->win_netmap_handle = IntToPtr(_get_osfhandle(fd)); in win_insert_fd_record()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 170 case Instruction::IntToPtr: in getIntImmCost()
|