/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 125 if (CastInst->isCast()) in findMatInsertPt() 218 if (Inst->isCast()) in collectConstantCandidates() 252 if (!CastInst->isCast()) in collectConstantCandidates() 266 if (!ConstExpr->isCast()) in collectConstantCandidates() 503 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 108 bool isCast() const { return isCast(getOpcode()); } 137 static inline bool isCast(unsigned OpCode) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 117 bool isCast() const { return isCast(getOpcode()); } in isCast() function 151 static inline bool isCast(unsigned OpCode) { in isCast() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instruction.h | 133 bool isCast() const { return isCast(getOpcode()); } 185 static inline bool isCast(unsigned OpCode) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 177 if (CastInst->isCast()) in findMatInsertPt() 449 if (!CastInst->isCast()) in collectConstantCandidates() 467 if (!ConstExpr->isCast()) in collectConstantCandidates() 484 if (Inst->isCast()) in collectConstantCandidates() 780 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants() 809 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 177 if (CastInst->isCast()) in findMatInsertPt() 453 if (!CastInst->isCast()) in collectConstantCandidates() 471 if (!ConstExpr->isCast()) in collectConstantCandidates() 488 if (Inst->isCast()) in collectConstantCandidates() 785 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants() 814 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Instruction.h | 168 bool isCast() const { return isCast(getOpcode()); } 220 static inline bool isCast(unsigned OpCode) {
|
D | AbstractCallSite.h | 147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 59 if (CE->isCast()) in operator *()
|
/external/llvm-project/llvm/lib/IR/ |
D | AbstractCallSite.cpp | 67 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
|
D | ConstantsContext.h | 61 return Instruction::isCast(CE->getOpcode()) || in classof() 609 if (Instruction::isCast(Opcode) ||
|
D | ConstantFold.cpp | 91 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 93 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 545 if (CE->isCast()) { in ConstantFoldCastInstruction() 2486 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AbstractCallSite.cpp | 66 if (CE->getNumUses() == 1 && CE->isCast()) { in AbstractCallSite()
|
D | ConstantFold.cpp | 81 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 83 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 540 if (CE->isCast()) { in ConstantFoldCastInstruction() 2335 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
|
D | ConstantsContext.h | 533 if (Instruction::isCast(Opcode) ||
|
/external/llvm-project/llvm/test/Transforms/ConstantHoisting/AArch64/ |
D | consthoist-unreachable.ll | 6 …m::Type *, const llvm::consthoist::ConstantUser &): Assertion `CastInst->isCast() && "Expected an …
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 87 if (CE->isCast()) in operator *()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 63 if (CE->isCast()) in operator *()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 356 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
|
/external/llvm-project/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 272 if (CE->isCast()) in SplitStaticCtorDtor()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 273 if (CE->isCast()) in SplitStaticCtorDtor()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 80 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair() 82 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 541 if (CE->isCast()) { in ConstantFoldCastInstruction() 2168 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
|
D | ConstantsContext.h | 506 if (Instruction::isCast(Opcode))
|