/netbsd-src/external/apache2/llvm/dist/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() 220 IntToPtr->getOperand(0)->getType()); in foldIntegerTypedPHI() 225 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in foldIntegerTypedPHI() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/ |
H A D | basetsd.d | 90 void* IntToPtr(int i) { return(cast(void*) cast(INT_PTR) i); } in version() 116 void* IntToPtr(int i) { return cast(void*) i; } in IntToPtr() function 118 alias IntToPtr LongToPtr;
|
/netbsd-src/external/apache2/llvm/dist/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() 617 case Instruction::IntToPtr: { in cloneInstructionWithNewAddressSpace() 667 if (CE->getOpcode() == Instruction::IntToPtr) { in cloneConstantExprWithNewAddressSpace() 999 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ReplaceConstant.cpp | 61 case Instruction::IntToPtr: in createReplacementInstr()
|
H A D | Globals.cpp | 455 case Instruction::IntToPtr: in findBaseObject()
|
H A D | Instructions.cpp | 2711 case Instruction::IntToPtr: in isNoopCast() 2961 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create() 2983 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create() 3107 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3309 return IntToPtr; // int -> ptr in getCastOpcode() 3381 case Instruction::IntToPtr: in castIsValid() 3551 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst() 3557 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
|
H A D | Instruction.cpp | 374 case IntToPtr: return "inttoptr"; in getOpcodeName()
|
H A D | Constants.cpp | 1545 case Instruction::IntToPtr: in getWithOperands() 2006 case Instruction::IntToPtr: in getCast() 2218 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr() 3498 case Instruction::IntToPtr: in getAsInstruction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 383 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 537 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 594 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr() 935 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1244 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1268 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1343 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1358 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 | CFLGraph.h | 529 case Instruction::IntToPtr: { in visitConstantExpr()
|
H A D | ObjCARCInstKind.cpp | 273 case Instruction::IntToPtr: in GetARCInstKind()
|
/netbsd-src/external/apache2/llvm/dist/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
|
/netbsd-src/external/apache2/llvm/dist/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() 999 case Instruction::IntToPtr: in getUserCost()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
H A D | IndirectionUtils.cpp | 224 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 155 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 165 if (Op == Instruction::IntToPtr) { in InsertNoopCastOfTo() 186 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 190 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo() 196 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
|
H A D | Evaluator.cpp | 89 case Instruction::IntToPtr: in isSimpleEnoughValueToCommitHelper()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 885 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 172 case Instruction::IntToPtr: in getIntImmCostInst()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 827 if (C->getOpcode() == Instruction::IntToPtr) { in selectPatchpoint() 1779 case Instruction::IntToPtr: // Deliberate fall-through. in selectOperator()
|