Home
last modified time | relevance | path

Searched refs:isCast (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp180 if (CastInst->isCast()) in findMatInsertPt()
471 if (!CastInst->isCast()) in collectConstantCandidates()
489 if (!ConstExpr->isCast()) in collectConstantCandidates()
506 if (Inst->isCast()) in collectConstantCandidates()
796 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
825 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
H A DTLSVariableHoist.cpp111 if (Inst->isCast()) in collectTLSCandidate()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h282 bool isCast() const { return isCast(getOpcode()); }
333 static inline bool isCast(unsigned Opcode) {
H A DAbstractCallSite.h147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
H A DConstants.h1225 bool isCast() const;
H A DInstrTypes.h714 return I->isCast();
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h60 return Instruction::isCast(CE->getOpcode()); in classof()
479 if (Instruction::isCast(Opcode))
H A DConstantFold.cpp50 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
52 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
152 if (CE->isCast()) { in ConstantFoldCastInstruction()
H A DConstants.cpp1515 bool ConstantExpr::isCast() const { return Instruction::isCast(getOpcode()); } in isCast() function in ConstantExpr
2187 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp266 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp132 if (I.isCast()) in updateForBB()
H A DLint.cpp673 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1005 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1388 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp271 if (CE->isCast()) in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp66 if (CE->isCast()) in operator *()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp244 if (I->isCast()) in calculate()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3923 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion()
4464 (castACTC == ACTC_coreFoundation && SemaRef.isCast(CCK)))) in CheckObjCConversion()
4468 SemaRef.isCast(CCK)) in CheckObjCConversion()
4494 SemaRef.isCast(CCK)) in CheckObjCConversion()
H A DSema.cpp723 if (Context.hasAnyFunctionEffects() && !isCast(CCK) && in ImpCastExprToType()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp393 if (CE->isCast()) in runStaticConstructorsDestructors()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2097 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2238 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1500 if (Instruction::isCast(Opcode)) in isConstExprSupported()
1571 if (Instruction::isCast(BC->Opcode)) { in materializeValue()
1686 if (Instruction::isCast(BC->Opcode)) { in materializeValue()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2784 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2962 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp9354 if (!UnaryInstruction::isCast(E->getOpcode()) && E->Idx != 0) { in getEntryCost()
9881 (Instruction::isCast(E->getOpcode()) && in getEntryCost()
9882 Instruction::isCast(E->getAltOpcode())) || in getEntryCost()
13544 (Instruction::isCast(E->getOpcode()) && in vectorizeTree()
13545 Instruction::isCast(E->getAltOpcode())) || in vectorizeTree()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1932 if (CE->isCast() && CE->getType()->isPointerTy()) { in checkForAllCallSites()

12